Skip to main content

yugendb_sqlite/
lib.rs

1//! SQLite Rust driver for yugendb.
2//!
3//! SQLite is an embedded SQL-backed implementation of yugendb's storage model:
4//!
5//! ```text
6//! namespace + collection + key -> serialised typed value
7//! ```
8
9pub mod driver;
10pub mod schema;
11
12pub use driver::{sqlite, sqlite_capabilities, SqliteDriver, SqliteDriverOptions};
13pub use schema::{
14    schema_statements, SqliteStorageSchema, ALL_SCHEMA_STATEMENTS, CREATE_EXPIRES_AT_INDEX_SQL,
15    CREATE_MIGRATION_METADATA_TABLE_SQL, CREATE_PREFIX_INDEX_SQL, CREATE_STORE_TABLE_SQL,
16    MIGRATION_METADATA_TABLE_NAME, SCHEMA_VERSION, STORE_TABLE_NAME,
17};