Skip to main content

Module postgres

Module postgres 

Source
Expand description

PostgreSQL implementation of crate::services::DatabaseProvider.

This module is part of the documented sqlx allowlist: every sqlx::query(_) call here either binds a crate::models::QuerySelector string supplied at runtime (extension-defined SQL, dynamic admin queries) or executes SELECT 1 for connection probing. Static SQL goes through the verified macros elsewhere.

Modules§

conversion
Conversions between SQLx PostgreSQL rows, QueryResult / crate::models::JsonRow values, and parameter binders.
transaction
Concrete DatabaseTransaction for PostgreSQL.

Structs§

PostgresProvider