MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / execute_unprepared

Method execute_unprepared

sea-orm-migration/src/connection.rs:29–34  ·  view source on GitHub ↗
(&self, sql: &str)

Source from the content-addressed store, hash-verified

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 {

Callers 1

Calls

no outgoing calls

Tested by 1