On Tuesday, 11 March 2014 at 08:22:40 UTC, dennis luehring wrote:
--------->8---------
what do you need?
--------->8---------
Well, I should connect to result.mdb database and performs some
queries, i.e.
select * from result order by id
select * from task where result_id=22
...
select * from parm where task_id=256
then "merge" these records and export into json.
I am a D newbie, and my plan is:
1. Create a bind to libmdb library (maybe with dstep)
2. Create D code than perform the queries and return record
(represented in some way, array of struct, tuple...)
4. "Merge" the records
3. Convert these records into json files
Point 3. and 4. are easy, 1. and 2 hard to me ....
Another solution is convert (with mdb-export) mdb into CSV file
and precess it, but I fear that "query" csv files it is very
slow...