SQLite3

SQLite3 oceandrift database driver

Built upon the sqlite3 C library

Constructors

this
this(string filename, OpenMode mode)
Undocumented in source.

Members

Functions

autoCommit
bool autoCommit()
Undocumented in source. Be warned that the author may not have intended to support it.
autoCommit
void autoCommit(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
void connect()
Undocumented in source. Be warned that the author may not have intended to support it.
connected
bool connected()
Undocumented in source. Be warned that the author may not have intended to support it.
execute
void execute(string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
getConnection
sqlite3* getConnection()
lastInsertID
DBValue lastInsertID()
Undocumented in source. Be warned that the author may not have intended to support it.
mode
OpenMode mode()
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
Statement prepare(string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
transactionCommit
void transactionCommit()
Undocumented in source. Be warned that the author may not have intended to support it.
transactionRollback
void transactionRollback()
Undocumented in source. Be warned that the author may not have intended to support it.
transactionStart
void transactionStart()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

build
BuiltQuery build(Select select)
Undocumented in source. Be warned that the author may not have intended to support it.
build
BuiltQuery build(Update update)
Undocumented in source. Be warned that the author may not have intended to support it.
build
BuiltQuery build(Insert query)
Undocumented in source. Be warned that the author may not have intended to support it.
build
BuiltQuery build(Delete delete_)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From DatabaseDriverSpec

connect
void connect()

Establishes a fresh connection to the database

close
void close()

Shutdown the database current connection

connected
bool connected()

Gets the current connection status

autoCommit
bool autoCommit()

Determines whether “auto commit” is enabled for the current database connection

autoCommit
void autoCommit(bool enable)

Enables/disables “auto commit” (if available on the underlying database)

transactionStart
void transactionStart()

Begins a database transaction (Requires support by the underlying database, of course)

transactionCommit
void transactionCommit()

Commits the current transaction

transactionRollback
void transactionRollback()

Rolls back the current transaction

execute
void execute(string sql)

Executes the provided SQL statement

prepare
Statement prepare(string sql)

Prepares the passed SQL statement

lastInsertID
DBValue lastInsertID()

Meta