Skip to main content

Crate sqlite_provider

Crate sqlite_provider 

Source
Expand description

Backend-agnostic abstraction over the SQLite3 C API.

Modules§

authorizer
Authorizer action codes (SQLite values).

Structs§

ApiVersion
SQLite API version.
AuthorizerEvent
Arguments passed to the authorizer callback.
Backup
RAII wrapper around an online backup handle.
BestIndexInfo
Wrapper for a backend-specific best-index info pointer.
Blob
RAII wrapper around an incremental blob handle.
CallbackHandle
RAII handle for registered callbacks (trace/authorizer).
ColumnMetadata
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_cursor pointer.
Error
Error returned by sqlite-provider operations.
FeatureSet
Backend feature flags exposed by the provider.
FunctionFlags
Function flags passed to create_function_v2 / create_window_function.
OpenFlags
Flags for opening a database connection.
OpenOptions
Options passed to Sqlite3Api::open.
OwnedBytes
Bytes owned by the backend and freed via Sqlite3Serialize::free.
RawBytes
Raw view into SQLite-managed bytes.
Row
Row view for the current step.
SerializedDb
Serialized database buffer owned by the backend.
Statement
Prepared statement wrapper.
TraceMask
Bitmask for trace_v2 callbacks.
VTab
Glue wrapper stored in the backend’s sqlite3_vtab pointer.
sqlite3_module
Typed wrapper for sqlite3_module.

Enums§

AuthorizerAction
Authorizer action decoded from the SQLite action code.
AuthorizerResult
Return value for authorizer callbacks.
ErrorCode
SQLite result codes plus crate-specific conditions.
StepResult
Result of a step call.
TraceEvent
Decoded trace callback event.
Value
Owned SQLite value.
ValueRef
Borrowed SQLite value view.
ValueType
SQLite storage class for a value.

Traits§

Sqlite3Api
Provider SPI over a SQLite C API backend.
Sqlite3Backup
Optional backend extension for online backup.
Sqlite3BlobIo
Optional backend extension for incremental blob I/O.
Sqlite3Hooks
Optional backend extension for hooks (trace/progress/busy/authorizer).
Sqlite3Keying
Optional backend extension for SQLCipher-style keying.
Sqlite3Metadata
Optional backend extension for metadata helpers.
Sqlite3Serialize
Optional backend extension for serialize/deserialize.
Sqlite3Wal
Optional backend extension for WAL helpers.
VTabCursor
Virtual table cursor implementation.
VirtualTable
Virtual table implementation.

Type Aliases§

Result
Result alias used across the crate.