www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - SQLite 3 support?

reply mark <mark qtrac.eu> writes:
There seems to be some support for SQLite 3 in std. lib. etc when 
looking at the stable docs:
https://dlang.org/phobos/etc_c_sqlite3.html

But this isn't visible when looking at stable (ddox).

Is this the best SQLite 3 library to use or is a third-party 
library best?
For example https://github.com/biozic/d2sqlite3
Feb 26 2020
next sibling parent tchaloupka <chalucha gmail.com> writes:
On Wednesday, 26 February 2020 at 20:06:20 UTC, mark wrote:
 There seems to be some support for SQLite 3 in std. lib. etc 
 when looking at the stable docs:
 https://dlang.org/phobos/etc_c_sqlite3.html

 But this isn't visible when looking at stable (ddox).

 Is this the best SQLite 3 library to use or is a third-party 
 library best?
 For example https://github.com/biozic/d2sqlite3
What's in the Phobos is just D binding to the sqlite3 C api. Probably not much up to date too. I've been using d2sqlite3 a lot some time ago and I'd definitelly recommend it. It also provides nice higher level API that helps to work with it in a more D friendly and productive way. But I'm not following sqlite3 updates much nowadays.
Feb 26 2020
prev sibling parent Jordan Wilson <wilsonjord gmail.com> writes:
On Wednesday, 26 February 2020 at 20:06:20 UTC, mark wrote:
 There seems to be some support for SQLite 3 in std. lib. etc 
 when looking at the stable docs:
 https://dlang.org/phobos/etc_c_sqlite3.html

 But this isn't visible when looking at stable (ddox).

 Is this the best SQLite 3 library to use or is a third-party 
 library best?
 For example https://github.com/biozic/d2sqlite3
I use d2sqlite3 regularly, no problems at all with it. I have no experience with the std. lib one. Jordan
Feb 26 2020