[ ... ]

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).

Reply via email to