sqlite.d2sqlite3

This module provides a small wrapper around SQLite for the D programming language. It wraps the C API in an idiomatic manner and handles built-in D types and Nullable!T automatically.

Public Imports

etc.c.sqlite3
public import etc.c.sqlite3;
Undocumented in source.

Members

Classes

SqliteException
class SqliteException

Exception thrown when SQLite functions return an error.

Enums

Deterministic
enum Deterministic

A caracteristic of user-defined functions or aggregates.

SqliteType
enum SqliteType

SQLite type codes

Functions

config
void config(int code, Args args)

Sets a configuration option. Use before initialization, e.g. before the first call to initialize and before execution of the first statement.

initialize
void initialize()

Manually initializes (or shuts down) SQLite.

literal
string literal(T value)

Turns value into a literal that can be used in an SQLite expression.

shutdown
void shutdown()

Manually initializes (or shuts down) SQLite.

sqlite3_bind_blob64
int sqlite3_bind_blob64(sqlite3_stmt* , int , void* , sqlite3_uint64 , void function(void*) )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_bind_parameter_count
int sqlite3_bind_parameter_count(sqlite3_stmt* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_bind_text64
int sqlite3_bind_text64(sqlite3_stmt* , int , char* , sqlite3_uint64 , void function(void*) , ubyte encoding)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_changes
int sqlite3_changes(sqlite3* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_column_count
int sqlite3_column_count(sqlite3_stmt* pStmt)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_errcode
int sqlite3_errcode(sqlite3* db)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_libversion_number
int sqlite3_libversion_number()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_result_blob64
void sqlite3_result_blob64(sqlite3_context* , void* , sqlite3_uint64 , void function(void*) )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_result_text64
void sqlite3_result_text64(sqlite3_context* , char* , sqlite3_uint64 , void function(void*) , ubyte encoding)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_threadsafe
int sqlite3_threadsafe()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
sqlite3_total_changes
int sqlite3_total_changes(sqlite3* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
threadSafe
bool threadSafe()

Tells whether SQLite was compiled with the thread-safe options.

versionNumber
int versionNumber()

Gets the library's version number (e.g. 3008007).

versionString
string versionString()

Gets the library's version string (e.g. "3.8.7").

Structs

ColumnData
struct ColumnData

The data retrived from a column, stored internally as a Variant.

ColumnMetadata
struct ColumnMetadata

Information about a column.

Database
struct Database

An SQLite database connection.

ResultRange
struct ResultRange

An input range interface to access the results of the execution of a statement.

Row
struct Row

A SQLite row, implemented as a random-access range of ColumnData.

RowCache
struct RowCache

Caches all the results of a Statement in memory as ColumnData.

Statement
struct Statement

An SQLite statement execution.

Meta

Authors

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