Expand description
SQL-backed Store implementation for SQLite and PostgreSQL.
Uses sqlx::Any for database-agnostic queries. Enable features
sqlite or postgres to select the backend.
let pool = sqlx::any::Pool<Any>Options::new()
.connect("sqlite::memory:").await?;
let store = SqlStore::new(pool);
store.migrate().await?;