MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / from

Method from

src/driver/sqlx_postgres.rs:40–45  ·  view source on GitHub ↗
(pool: PgPool)

Source from the content-addressed store, hash-verified

38
39impl From<PgPool> for SqlxPostgresPoolConnection {
40 fn from(pool: PgPool) -> Self {
41 SqlxPostgresPoolConnection {
42 pool,
43 metric_callback: None,
44 }
45 }
46}
47
48impl From<PgPool> for DatabaseConnection {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected