Skip to main content

Module connection

Module connection 

Source
Expand description

Pooled SQLite connections with explicit session and transaction affinity.

A ManagedConnection is a logical session. Clones share that session so catalog, document, inverted-index, and vector stores participate in the same explicit transaction. ManagedConnection::new_session creates an isolated session over the same physical connection pool. Outside explicit transactions operations check out independent connections, allowing WAL readers to make real concurrent progress.

Structs§

ManagedConnection
Logical SQLite session backed by a bounded physical connection pool. Cloning preserves session/transaction affinity; call Self::new_session for an independently isolated transaction context.

Enums§

SQLiteError

Type Aliases§

Result