Instantiate a sqlx pool connection to a [DatabaseConnection]
(pool: MySqlPool)
| 100 | impl SqlxMySqlConnector { |
| 101 | /// Instantiate a sqlx pool connection to a [DatabaseConnection] |
| 102 | pub fn from_sqlx_mysql_pool(pool: MySqlPool) -> DatabaseConnection { |
| 103 | DatabaseConnection::SqlxMySqlPoolConnection(SqlxMySqlPoolConnection { |
| 104 | pool, |
| 105 | metric_callback: None, |
| 106 | }) |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | impl SqlxMySqlPoolConnection { |
nothing calls this directly
no test coverage detected