Crate sqlite3_ext

Source

Modules§

ffi
function
Create application-defined functions.
query
Facilities for running SQL queries.
vtab
Create virtual tables.

Macros§

params
Create a Params with values of mixed types.
sqlite3_match_version
Selectively enable features which require a particular SQLite version.
sqlite3_require_version
Guard an expression behind an SQLite version.

Structs§

Blob
Represents an owned BLOB object.
Connection
Represents a borrowed connection to an SQLite database.
Database
Represents an owned connection to an SQLite database.
Extension
Represents an SQLite-compatible extension entry point.
Map
OpenFlags
These are the flags that can be passed to Database::open_with_flags and variants.
PassedRef
Pass arbitrary values through SQLite.
SqliteVersion
The version of SQLite.
Transaction
A RAII wrapper around transactions.
UnsafePtr
Pass arbitrary pointers through SQLite as BLOBs.
ValueList
Represents a list of values from SQLite.
ValueRef
A protected SQL value.

Enums§

Error
RiskLevel
Indicate the risk level for a function or virtual table.
TransactionType
The type of transaction to create.
Value
Stores an SQLite-compatible value owned by Rust code.
ValueType

Constants§

SQLITE_CONSTRAINT
Alias for Error::Sqlite(ffi::SQLITE_CONSTRAINT).
SQLITE_EMPTY
Alias for Error::Sqlite(ffi::SQLITE_EMPTY).
SQLITE_LOCKED
Alias for Error::Sqlite(ffi::SQLITE_LOCKED).
SQLITE_MISMATCH
Alias for Error::Sqlite(ffi::SQLITE_MISMATCH).
SQLITE_MISUSE
Alias for Error::Sqlite(ffi::SQLITE_MISUSE).
SQLITE_NOMEM
Alias for Error::Sqlite(ffi::SQLITE_NOMEM).
SQLITE_NOTFOUND
Alias for Error::Sqlite(ffi::SQLITE_NOTFOUND).
SQLITE_RANGE
Alias for Error::Sqlite(ffi::SQLITE_RANGE).
SQLITE_READONLY
Alias for Error::Sqlite(ffi::SQLITE_READONLY).

Statics§

SQLITE_VERSION
The version of SQLite. See SqliteVersion for details.

Traits§

FallibleIterator
An Iterator-like trait that allows for calculation of items to fail.
FallibleIteratorMut
Provides a FallibleIterator over mutable references.
FromValue
Allows access to an underlying SQLite value.

Functions§

sqlite3_randomness
sqlite3_strglob
Perform an SQL GLOB operation.
sqlite3_stricmp
Perform a case-insensitive comparison using the same collation that SQLite uses.
sqlite3_strlike
Perform an SQL LIKE operation. The escape parameter can be 0 or any ASCII character. If the escape parameter is not ASCII, it is treated as though 0 were specified (no escape).

Type Aliases§

Result

Attribute Macros§

sqlite3_ext_fn
Create a FunctionOptions for an application-defined function.
sqlite3_ext_init
Declare the entry point to an extension.
sqlite3_ext_main
Declare the primary extension entry point for the crate.
sqlite3_ext_vtab
Declare a virtual table module.