digitalmars.D.learn - SQLite with D
- reimi gibbons (1/1) Apr 23 2009 im failry new to D, is there any D library project with support for SQLi...
- Denis Koroskin (4/7) Apr 24 2009 There is a DDBI project that aims to support various databases for D, bu...
- downs (4/5) Apr 24 2009 tools.sqlite3 might work for you. Ask me if you have any questions about...
- reimi gibbons (2/10) Apr 24 2009 thanks for the link. Is it possible to dynamicly load the precompiled bi...
- reimi gibbons (3/11) Apr 25 2009 sorry about earlier reply, mistaken your lib to another lib. btw, how do...
- downs (2/15) Apr 26 2009 Oh, I don't know about that. Sqlite3 is a static library on my Linux. Tr...
im failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.
Apr 23 2009
On Fri, 24 Apr 2009 06:44:56 +0400, reimi gibbons <rei2x hotmail.com> wrote:im failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.There is a DDBI project that aims to support various databases for D, but its trunk is currently focused on MySQL. OTOH, there is a fork of it that added SQLite support sometime ago. I don't not how stable it is, but you may give it a try: http://github.com/aaronc/ddbi/tree/master
Apr 24 2009
reimi gibbons wrote:im failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.tools.sqlite3 might work for you. Ask me if you have any questions about it. http://dsource.org/projects/scrapple/browser/trunk/tools/tools/sqlite3.d (Check the very end for an example)
Apr 24 2009
downs Wrote:reimi gibbons wrote:thanks for the link. Is it possible to dynamicly load the precompiled binary and use it wihtout header file? since im hoping to use latest sqlite (3.6)im failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.tools.sqlite3 might work for you. Ask me if you have any questions about it. http://dsource.org/projects/scrapple/browser/trunk/tools/tools/sqlite3.d (Check the very end for an example)
Apr 24 2009
downs Wrote:reimi gibbons wrote:sorry about earlier reply, mistaken your lib to another lib. btw, how do i use this file. with precompiled library (dll/so) or .h/.c ? thanksim failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.tools.sqlite3 might work for you. Ask me if you have any questions about it. http://dsource.org/projects/scrapple/browser/trunk/tools/tools/sqlite3.d (Check the very end for an example)
Apr 25 2009
reimi gibbons wrote:downs Wrote:Oh, I don't know about that. Sqlite3 is a static library on my Linux. Try to compile the sqlite3.c to .o and just link that in.reimi gibbons wrote:sorry about earlier reply, mistaken your lib to another lib. btw, how do i use this file. with precompiled library (dll/so) or .h/.c ? thanksim failry new to D, is there any D library project with support for SQLite, if not is there any guide so i can integrate sqlite amalgamated c source (sqlite3.c, sqlite3.h) into my D code.tools.sqlite3 might work for you. Ask me if you have any questions about it. http://dsource.org/projects/scrapple/browser/trunk/tools/tools/sqlite3.d (Check the very end for an example)
Apr 26 2009