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

Method execute

sea-orm-migration/src/connection.rs:22–27  ·  view source on GitHub ↗
(&self, stmt: Statement)

Source from the content-addressed store, hash-verified

20 }
21
22 async fn execute(&self, stmt: Statement) -> Result<ExecResult, DbErr> {
23 match self {
24 SchemaManagerConnection::Connection(conn) => conn.execute(stmt).await,
25 SchemaManagerConnection::Transaction(trans) => trans.execute(stmt).await,
26 }
27 }
28
29 async fn execute_unprepared(&self, sql: &str) -> Result<ExecResult, DbErr> {
30 match self {

Callers 4

installMethod · 0.45
exec_freshFunction · 0.45
exec_stmtMethod · 0.45
run_migrationFunction · 0.45

Calls

no outgoing calls

Tested by 1

run_migrationFunction · 0.36