teaql-provider-sqlx-postgres
PostgreSQL SQLx provider adapter for TeaQL runtime.
This crate owns PostgreSQL-specific execution, schema bootstrap, transaction wrapping, row decoding, and ID-space generation. It is intentionally separate from the SQLite and MySQL providers.
Usage
= "0.7"
= "0.7"
use ;
use UserContext;
let pool = connect.await?;
let mut ctx = new
.with_module
.with_repository_registry;
ctx.use_postgres_provider;
ctx.ensure_schema.await?;