Skip to main content

Crate fsqlite

Crate fsqlite 

Source
Expand description

Public API facade for FrankenSQLite.

This crate will grow a stable, ergonomic API surface over time. In early phases it also re-exports selected internal crates for integration tests.

Re-exports§

pub use fsqlite_vfs;

Modules§

compat
rusqlite-compatible adapter layer for FrankenSQLite.
migrate
Lightweight schema migration framework for FrankenSQLite.

Macros§

params
Construct a parameter slice from heterogeneous values, analogous to rusqlite::params!.

Structs§

Connection
ConnectionEnv
Connection-scoped environment for selecting the runtime context and tuning resource limits.
DatabaseNamespaceGenerationTransition
Exclusive namespace lease spanning caller-owned generation replacement.
FileIdentity
Opaque identity of an already-open filesystem object.
PreparedStatement
Row
A database row produced by a query.
RuntimeConfig
Configuration for the process-global runtime context.
RuntimeContext
Process-global runtime handle shared by all database regions.
TraceMask
Compatibility mask for sqlite3_trace_v2-style callbacks.

Enums§

FrankenError
Primary error type for FrankenSQLite operations.
IoPollStrategy
I/O polling strategy for the shared runtime context.
NamespaceGenerationTransitionOutcome
Durable result of an exact namespace-generation transition.
SqliteValue
A dynamically-typed SQLite value.
TraceEvent
sqlite3_trace_v2-style callback event payload.

Functions§

begin_database_namespace_generation_transition
Begin an exact namespace-generation transition before mutating the path.
init_global_runtime
Install or replace the process-global runtime context used by Connection::open.