H1 2015 - db access support in Phobos

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 01:16:12 PST 2015


> But for such high level DB library must be based on some lower 
> level DB API (connector).
> Like JDBC for JPA or Hibernate in Java.

really, does it? there is no need for an abstraction layer. you 
can have functions generate the correct source for mysql, sqlite, 
you name it. e.g. just generate the mysql statement at CT and 
pass the pointer to the sql c function. pass the parameter. done. 
Dream big.

> D may offer more convenient way for reading of field values ...
> not used), but it doesn't know column types anyway.

I don't get your point



More information about the Digitalmars-d mailing list