Any sample how to use Sqlite-d?
Marc
jckj33 at gmail.com
Wed Jan 17 13:36:26 UTC 2018
I was looking for a library to use SQLite with D, found this
(https://code.dlang.org/packages/sqlite-d) but it has no
documentation or code example. I looked into files in the source
code and wrote this:
> Database db = Database(name);
>auto table = db.table(tableName);
>auto rows = table.findRows!(format!"(id,date) => id == %s"(id));
(i'm aware of sql injection above)
but it doesnt work, it seems the library has changed. If happen
to that library author see this, would be very helpful.
More information about the Digitalmars-d-learn
mailing list