Instantiate a sqlx pool connection to a [DatabaseConnection]
(pool: SqlitePool)
| 118 | impl SqlxSqliteConnector { |
| 119 | /// Instantiate a sqlx pool connection to a [DatabaseConnection] |
| 120 | pub fn from_sqlx_sqlite_pool(pool: SqlitePool) -> DatabaseConnection { |
| 121 | DatabaseConnection::SqlxSqlitePoolConnection(SqlxSqlitePoolConnection { |
| 122 | pool, |
| 123 | metric_callback: None, |
| 124 | }) |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | impl SqlxSqlitePoolConnection { |
nothing calls this directly
no test coverage detected