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
- Open
Flags - These are the flags that can be passed to Database::open_with_flags and variants.
- Passed
Ref - Pass arbitrary values through SQLite.
- Sqlite
Version - The version of SQLite.
- Transaction
- A RAII wrapper around transactions.
- Unsafe
Ptr - Pass arbitrary pointers through SQLite as BLOBs.
- Value
List - Represents a list of values from SQLite.
- Value
Ref - A protected SQL value.
Enums§
- Error
- Risk
Level - Indicate the risk level for a function or virtual table.
- Transaction
Type - The type of transaction to create.
- Value
- Stores an SQLite-compatible value owned by Rust code.
- Value
Type
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§
- Fallible
Iterator - An
Iterator
-like trait that allows for calculation of items to fail. - Fallible
Iterator Mut - Provides a FallibleIterator over mutable references.
- From
Value - 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§
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.