d2sqlite3.database

Managing SQLite3 database connections.

Members

Aliases

Blob
alias Blob = immutable(ubyte)[]

Type for the internal representation of blobs

CommitHookDelegate
alias CommitHookDelegate = int delegate() nothrow
ProfileCallbackDelegate
alias ProfileCallbackDelegate = void delegate(string sql, ulong time) nothrow
ProgressHandlerDelegate
alias ProgressHandlerDelegate = int delegate() nothrow
RoolbackHookDelegate
alias RoolbackHookDelegate = void delegate() nothrow
TraceCallbackDelegate
alias TraceCallbackDelegate = void delegate(string sql) nothrow

Delegate types

UpdateHookDelegate
alias UpdateHookDelegate = void delegate(int type, string dbName, string tableName, long rowid) nothrow

Delegate types

Classes

SqliteException
class SqliteException

Exception thrown when SQLite functions return an error.

UnlockNotifyHandler
class UnlockNotifyHandler

UnlockNotifyHandler used when SQLite is compiled with SQLITE_ENABLE_UNLOCK_NOTIFY, and when the library is built with -version=SqliteEnableUnlockNotify. It is implemented using the standard core.sync package.

UnlockNotifyHandler
class UnlockNotifyHandler

UnlockNotifyHandler that can be used when SQLite is not compiled with SQLITE_ENABLE_UNLOCK_NOTIFY, and when the library is built with -version=SqliteFakeUnlockNotify.. It retries the statement execution for the provided amount of time before the SQLITE_LOCKED is returned.

Enums

Deterministic
enum Deterministic

A caracteristic of user-defined functions or aggregates.

SqliteType
enum SqliteType

SQLite type codes

Interfaces

IUnlockNotifyHandler
interface IUnlockNotifyHandler

UnlockNotifyHandler interface to be used for custom implementations of UnlockNotify pattern with SQLite.

Structs

Database
struct Database

An database connection.

TableColumnMetadata
struct TableColumnMetadata

Information about a table column.

Meta

Authors

Nicolas Sicard (biozic) and other contributors at https://github.com/biozic/d2sqlite3