H1 2015 - db access support in Phobos

Vadim Lopatin via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 4 22:16:45 PST 2015


On Wednesday, 4 February 2015 at 16:46:19 UTC, Andrei 
Alexandrescu wrote:
> On 2/1/15 8:00 PM, Vadim Lopatin wrote:
>> I would like to propose Java way for implementation of DB 
>> access (JDBC -
>> Java DataBase Connectors).
> [snip]
>
> I think we should use ODBC as the foundation and build neat 
> D-ish stuff on top of it. It's a mature technology with tried 
> and tested drivers available on all major OSs.
>
> Mark Isaacson built an ODBC driver for Presto in D while an 
> intern at Facebook: https://github.com/prestodb/presto-odbc. We 
> should write the corresponding ODBC client part and create D 
> abstractions on top of it.
>
>
> Andrei

IMHO, ODBC support may be implemented as a driver, as it's done 
in other DB access libraries.
E.g. we have native mysql client written in D - mysqln. It allows 
to access MySQL w/o external dependencies.
As well, accessing of SQLite DBs via ODBC seems weird.


More information about the Digitalmars-d mailing list