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 o
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 o
On Friday, 21 October 2016 at 10:50:30 UTC, Vadim Lopatin wrote:
On Wednesday, 19 October 2016 at 16:01:37 UTC, Alfred Newman
wrote:
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
However, for any r
On Wednesday, 19 October 2016 at 16:01:37 UTC, Alfred Newman
wrote:
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
However, for any reason, there is no code snippets or sample
codes available there.
On Wednesday, 19 October 2016 at 16:01:37 UTC, Alfred Newman
wrote:
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
However, for any reason, there is no code snippets or sample
codes available there.
On Wednesday, 19 October 2016 at 16:01:37 UTC, Alfred Newman
wrote:
Hello,
I am trying to handle a SQLite3 table with D. During my
researchs, I discovered the lib
https://dlang.org/phobos/etc_c_sqlite3.html.
[...]
I've never used SQLite from D, but Adam Ruppe has an interface
with an exam
On Sunday, 25 January 2015 at 18:19:47 UTC, Tobias Pankrath wrote:
Only string literals convert to const(char)*, because only for
them it is guaranteed that they are null terminated. For
everything else use toStringz.
So, as a trivial example, is this how it's done?:
string semiC = ";";
const
On Sunday, 25 January 2015 at 18:15:21 UTC, Paul wrote:
I'd like to vary the query based on input but if I try to move
the string out of the sqlite3_exec call like this:
string sqlStatement = "CREATE TABLE people(id INT PRIMARY KEY
NOT NULL, surname TEXT NOT NULL);";
result = sqlite3_exec(db,
I'd like to vary the query based on input but if I try to move
the string out of the sqlite3_exec call like this:
string sqlStatement = "CREATE TABLE people(id INT PRIMARY KEY NOT
NULL, surname TEXT NOT NULL);";
result = sqlite3_exec(db, sqlStatement, &aCallback, null, &msg);
...it won't comp
On Sunday, 11 January 2015 at 22:19:28 UTC, Tobias Pankrath wrote:
Hint: Put the SQL in a file create_people.sql and import it
into your code via the import statement:
string sql = import("create_people.sql"); // you'll need a
correct -J compiler switch
That way you can easily test if it's c
On Sunday, 11 January 2015 at 20:30:41 UTC, Paul wrote:
On Sunday, 11 January 2015 at 20:20:21 UTC, ketmar via
Digitalmars-d-learn wrote:
note the single quotes in your code: that is where it all goes
wrong. i
don't know where you got that quotes from, but this is not a
valid SQL
syntax for `C
On Sunday, 11 January 2015 at 20:20:21 UTC, ketmar via
Digitalmars-d-learn wrote:
note the single quotes in your code: that is where it all goes
wrong. i
don't know where you got that quotes from, but this is not a
valid SQL
syntax for `CREATE TABLE`. ;-)
Thank you, I thought it might be some
On Sun, 11 Jan 2015 20:00:03 +
Paul via Digitalmars-d-learn wrote:
> Can someone please tell me what I'm doing wrong here, the sql
> INSERT statement fails for some reason. I don't fully understand
> the callback function yet (I borrowed this from a C tutorial on
> the subject), maybe that
Man, I wish I'd known about that tool a while ago...
It seems to be working, but it looks like I'll need to
recompile the DLL myself; DMD is looking for symbols mangled
with a leading underscore, but the DLL has unmangled symbols,
so optlink still complains.
Oh; never mind. I forgot the /sys
Download their windows binaries and use Digital Mars implib
tool with /system switch.
Man, I wish I'd known about that tool a while ago...
It seems to be working, but it looks like I'll need to recompile
the DLL myself; DMD is looking for symbols mangled with a leading
underscore, but the DLL
On Thursday, 27 December 2012 at 01:45:26 UTC, BLM768 wrote:
I've been trying various methods to get SQLite working in
Windows using the etc.c.sqlite3 bindings, but I can't figure
out how to get everything in a form that DMD likes. GCC doesn't
seem to output anything that OPTLINK can use, and I
On Thursday, 27 December 2012 at 03:03:34 UTC, jose isaias
cabrera wrote:
I have a huge project with D1 using the old DDBI project in
dsource:
http://dsource.org/projects/ddbi
It would be nice if someone with time will port it to D2. IHTH.
jic
Actually, my current project is basically al
"BLM768" ...
> Has anyone managed to get the library working on Windows?
I have a huge project with D1 using the old DDBI project in dsource:
http://dsource.org/projects/ddbi
It would be nice if someone with time will port it to D2. IHTH.
jic
On Thursday, 27 December 2012 at 01:45:26 UTC, BLM768 wrote:
I've been trying various methods to get SQLite working in
Windows using the etc.c.sqlite3 bindings, but I can't figure
out how to get everything in a form that DMD likes. GCC doesn't
seem to output anything that OPTLINK can use, and I
reimi gibbons wrote:
> downs Wrote:
>
>> 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 yo
downs Wrote:
> 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 an
downs Wrote:
> 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 an
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.
htt
On Fri, 24 Apr 2009 06:44:56 +0400, 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.
There is a DDBI project that aims to support
24 matches
Mail list logo