runlight/store/mod.rs
1//! Runlight's tables: the database driver a store needs ([`Db`]), the rows
2//! it keeps, and [`SqlStore`], the same tables and statements as the
3//! TypeScript SDK's store on SQLite, Postgres, and MySQL or MariaDB. The
4//! drivers over sqlx are the runlight-sqlx crate.
5
6mod db;
7mod prefixed;
8mod rows;
9pub(crate) mod sql;
10mod sql_store;
11
12pub use db::*;
13pub use prefixed::{LOCK_WAIT, PREFIX, Prefixed, TABLES, TablesBusyError, check_prefix, lock_wait, lock_wait_in_tests};
14pub use rows::*;
15pub use sql::{BOUNCE_MS, EVENT_TAIL_MS, JOURNEY_VISITS, MYSQL_COLLATION, js_order};
16pub use sql_store::SqlStore;