dbi.sqlite.Sqlite
Authors:
The D DBI project
- class
Sqlite
: dbi.model.Database.Database;
- An implementation of Database for use with SQLite databases.
See Also:
Database is the interface that this provides an implementation of.
- this();
- Create a new instance of Sqlite, but don't open a database.
- this(char[] dbFile);
- Create a new instance of Sqlite and open a database.
See Also:
connect
- void
connect
(char[] dbfile);
- Open a SQLite database for use.
Params:
char[] dbfile |
The name of the SQLite database to open. |
Throws:
DBIException if there was an error accessing the database.
Examples:
auto db = new Sqlite();
db.connect("_test.db");
- bool
hasItem
(char[] type, char[] name);
|