(&self, stmt: Statement)
| 34 | } |
| 35 | |
| 36 | async fn query_one(&self, stmt: Statement) -> Result<Option<QueryResult>, DbErr> { |
| 37 | match self { |
| 38 | SchemaManagerConnection::Connection(conn) => conn.query_one(stmt).await, |
| 39 | SchemaManagerConnection::Transaction(trans) => trans.query_one(stmt).await, |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | async fn query_all(&self, stmt: Statement) -> Result<Vec<QueryResult>, DbErr> { |
| 44 | match self { |
no outgoing calls