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

Method truncate_table

sea-orm-migration/src/manager.rs:77–79  ·  view source on GitHub ↗
(&self, stmt: TableTruncateStatement)

Source from the content-addressed store, hash-verified

75 }
76
77 pub async fn truncate_table(&self, stmt: TableTruncateStatement) -> Result<(), DbErr> {
78 self.exec_stmt(stmt).await
79 }
80
81 pub async fn drop_index(&self, stmt: IndexDropStatement) -> Result<(), DbErr> {
82 self.exec_stmt(stmt).await

Callers

nothing calls this directly

Calls 1

exec_stmtMethod · 0.80

Tested by

no test coverage detected