Skip to main content

Crate drizzle_sqlite

Crate drizzle_sqlite 

Source
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 SQLite query builder.
common
SQLite schema marker, the Number type, and the Join re-export.
connection
SQLite transaction locking modes and their conversions to each driver’s type.
expr
SQLite JSON functions and conditions.
helpers
Free functions that render single SQLite clauses as SQL.
pragma
SQLite PRAGMA statements.
traits
SQLite traits for tables, columns, custom column types and row decoding.
types
SQL type markers for SQLite columns (Integer, Text, Blob, Real, Numeric, Any), re-exported from drizzle-types.
values
SQLite values: SQLiteValue (bound parameters and decoded cells), its owned and borrowed forms, and the insert and update field types used by generated models.

Structs§

ParamBind
A value to bind to the placeholder called name.