(&self, sql: &str)
| 27 | } |
| 28 | |
| 29 | async fn execute_unprepared(&self, sql: &str) -> Result<ExecResult, DbErr> { |
| 30 | match self { |
| 31 | SchemaManagerConnection::Connection(conn) => conn.execute_unprepared(sql).await, |
| 32 | SchemaManagerConnection::Transaction(trans) => trans.execute_unprepared(sql).await, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | async fn query_one(&self, stmt: Statement) -> Result<Option<QueryResult>, DbErr> { |
| 37 | match self { |
no outgoing calls