Expand description
A thin, additive SQLite framework over raw rusqlite.
Structs§
- Database
- A rusqlite-backed connection pool. Cloning shares the underlying pools.
- DbValue
Ref - A borrowed SQL value handed to
FromSqlValuewhen reading a column. - InList
- A list bound as an array parameter for use with
rarray. - Read
Transaction - A read transaction (
DEFERRED) held across.awaitpoints, on a reader connection. - ReadTx
- A read-only transaction. Borrows a connection on which a
DEFERREDtransaction is open; the transaction is never committed (changes roll back when it ends). - Row
- A single result row. Wraps
rusqlite::Rowso callers read columns through the codec viaRow::getwithout namingrusqlite. - Write
Transaction - A read-write transaction (
IMMEDIATE) held across.awaitpoints, on the single writer connection. - WriteTx
- A read-write transaction. Borrows a connection on which an
IMMEDIATEtransaction is open; the transaction is committed by the owner when the work returnsOk. Derefs toReadTxfor all read queries and addsexecute.
Enums§
- DbValue
- An owned SQL value produced when binding a Rust value as a query parameter.
Traits§
- From
SqlValue - Builds a Rust value from a SQL column value (the read side of the codec).
- ToSql
Value - Converts a Rust value into its SQL parameter representation (the write side of the codec).