Expand description
Backend-agnostic abstraction over the SQLite3 C API.
Modules§
- authorizer
- Authorizer action codes (SQLite values).
Structs§
- ApiVersion
- SQLite API version.
- Authorizer
Event - Arguments passed to the authorizer callback.
- Backup
- RAII wrapper around an online backup handle.
- Best
Index Info - Wrapper for a backend-specific best-index info pointer.
- Blob
- RAII wrapper around an incremental blob handle.
- Callback
Handle - RAII handle for registered callbacks (trace/authorizer).
- Column
Metadata - Column metadata returned by
Sqlite3Metadata. - Connection
- Safe wrapper around a
sqlite3*connection. - Context
- Context wrapper passed to user-defined functions.
- Cursor
- Glue wrapper stored in the backend’s
sqlite3_vtab_cursorpointer. - Error
- Error returned by sqlite-provider operations.
- Feature
Set - Backend feature flags exposed by the provider.
- Function
Flags - Function flags passed to
create_function_v2/create_window_function. - Open
Flags - Flags for opening a database connection.
- Open
Options - Options passed to
Sqlite3Api::open. - Owned
Bytes - Bytes owned by the backend and freed via
Sqlite3Serialize::free. - RawBytes
- Raw view into SQLite-managed bytes.
- Row
- Row view for the current step.
- Serialized
Db - Serialized database buffer owned by the backend.
- Statement
- Prepared statement wrapper.
- Trace
Mask - Bitmask for trace_v2 callbacks.
- VTab
- Glue wrapper stored in the backend’s
sqlite3_vtabpointer. - sqlite3_
module - Typed wrapper for
sqlite3_module.
Enums§
- Authorizer
Action - Authorizer action decoded from the SQLite action code.
- Authorizer
Result - Return value for authorizer callbacks.
- Error
Code - SQLite result codes plus crate-specific conditions.
- Step
Result - Result of a
stepcall. - Trace
Event - Decoded trace callback event.
- Value
- Owned SQLite value.
- Value
Ref - Borrowed SQLite value view.
- Value
Type - SQLite storage class for a value.
Traits§
- Sqlite3
Api - Provider SPI over a SQLite C API backend.
- Sqlite3
Backup - Optional backend extension for online backup.
- Sqlite3
Blob Io - Optional backend extension for incremental blob I/O.
- Sqlite3
Hooks - Optional backend extension for hooks (trace/progress/busy/authorizer).
- Sqlite3
Keying - Optional backend extension for SQLCipher-style keying.
- Sqlite3
Metadata - Optional backend extension for metadata helpers.
- Sqlite3
Serialize - Optional backend extension for serialize/deserialize.
- Sqlite3
Wal - Optional backend extension for WAL helpers.
- VTab
Cursor - Virtual table cursor implementation.
- Virtual
Table - Virtual table implementation.
Type Aliases§
- Result
- Result alias used across the crate.