(&self, stmt: Statement)
| 41 | } |
| 42 | |
| 43 | async fn query_all(&self, stmt: Statement) -> Result<Vec<QueryResult>, DbErr> { |
| 44 | match self { |
| 45 | SchemaManagerConnection::Connection(conn) => conn.query_all(stmt).await, |
| 46 | SchemaManagerConnection::Transaction(trans) => trans.query_all(stmt).await, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | fn is_mock_connection(&self) -> bool { |
| 51 | match self { |