Skip to main content

build_pool_from_connection

Function build_pool_from_connection 

Source
pub async fn build_pool_from_connection(
    pg: &PostgresConnection,
) -> Result<PgPool, EngineError>
Expand description

Lower-level helper: build a PgPool directly from a PostgresConnection. Separated from build_pool so tests + future migration-CLI tooling can feed a bare connection shape without constructing a full BackendConfig.