Another SQLite3 wrapper
Diego Cano Lagneaux
d.cano.lagneaux at gmail.com
Tue Nov 16 02:40:10 PST 2010
[ ... ]
>
> In terms of support in D, there needs to be a low level drivers I am
> sure, but having a way of interacting with SQLite, DB2, Oracle, even SQL
> Server all from the same source code would be good.
>
On one hand, I agree with this. It's nice to be able to easily switch the
DB backend without modifying the code.
On the other hand, sqlite is a very small, lighweight,
external-server-less DB backend, which makes it useful for projects where
other systems aren't. Sometimes I want to use sqlite in a small project,
and I don't need nor want the extra complexity. I just want sqlite. This
actually led me to use directly the C library instead of DDBI in a D1
small project of mine a couple of years ago. Just one .d file dropped into
my project dir.
So maybe, it's possible to make the DB framework use plugins, and only
install the one we want; or maybe two different projects with same syntax
(more convenient for the user but bound to fail in the longer term).
More information about the Digitalmars-d-announce
mailing list