Expand description
SQLite dialect for drizzle-rs.
This crate holds the SQLite parts of drizzle-rs: the typed query
builder (builder::QueryBuilder), values (values::SQLiteValue),
JSON helpers (expr), PRAGMA statements (pragma), and the traits
that #[SQLiteTable] and friends implement. Most applications use it
through the drizzle crate (drizzle::sqlite), which adds the drivers
(rusqlite, libsql, turso).
Re-exports§
pub use connection::SQLiteTransactionType;pub use connection::TransactionConfig;
Modules§
- attrs
- Names accepted inside
#[SQLiteTable(...)],#[column(...)],#[SQLiteView(...)]and#[SQLiteIndex(...)]. - builder
- The typed
SQLitequery builder. - common
SQLiteschema marker, theNumbertype, and theJoinre-export.- connection
SQLitetransaction locking modes and their conversions to each driver’s type.- expr
SQLiteJSON functions and conditions.- helpers
- Free functions that render single
SQLiteclauses asSQL. - pragma
SQLitePRAGMA statements.- traits
SQLitetraits for tables, columns, custom column types and row decoding.- types
- SQL type markers for
SQLitecolumns (Integer,Text,Blob,Real,Numeric,Any), re-exported fromdrizzle-types. - values
SQLitevalues:SQLiteValue(bound parameters and decoded cells), its owned and borrowed forms, and the insert and update field types used by generated models.
Structs§
- Param
Bind - A value to bind to the placeholder called
name.