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

Method rename_table

sea-orm-migration/src/manager.rs:73–75  ·  view source on GitHub ↗
(&self, stmt: TableRenameStatement)

Source from the content-addressed store, hash-verified

71 }
72
73 pub async fn rename_table(&self, stmt: TableRenameStatement) -> Result<(), DbErr> {
74 self.exec_stmt(stmt).await
75 }
76
77 pub async fn truncate_table(&self, stmt: TableTruncateStatement) -> Result<(), DbErr> {
78 self.exec_stmt(stmt).await

Callers

nothing calls this directly

Calls 1

exec_stmtMethod · 0.80

Tested by

no test coverage detected