mysqlD
Steve Teale
steve.teale at britseyeview.com
Fri Sep 30 03:09:34 PDT 2011
I recently resuscitated a piece of code that I'd originally got going under
Windows, but this time on Ubuntu with the latest MySQL client library.
It could be useful at two levels.
a) I went through the tedious process of translating mysql.h and its
dependencies to mysql.d - so it is possible to use the MySQL client API in D
programs.
b) What I actually wrote was a higher level thing that could presumably be
repeated for other database systems and ODBC
Apart from the basics like connecting, it provides:
execSQL()
execScalar()
execPrepared()
execReader()
and associated functions for setting up parameters, binding, etc, with quite
extensive unit testing of these facilities.
Would it be of any interest for the etc branch of Phobos?
Steve
More information about the Digitalmars-d
mailing list