Databases and the D Standard Library

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 3 00:09:54 PST 2017


On Mon, 02 Jan 2017 21:25:42 -0800, Adam Wilson wrote:
> As far as I am aware, the only way to meet those requirements is to use
> a base-class model. Is there something I am missing?

Templates. Templates everywhere.

Every method in your application that might possibly touch a database, or 
touch anything that touches a database, and so on, needs to be templated 
according to what type of database might be used.


More information about the Digitalmars-d mailing list