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

Method drop

src/database/transaction.rs:235–237  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

233
234impl Drop for DatabaseTransaction {
235 fn drop(&mut self) {
236 self.start_rollback().expect("Fail to rollback transaction");
237 }
238}
239
240#[async_trait::async_trait]

Callers

nothing calls this directly

Calls 1

start_rollbackMethod · 0.45

Tested by

no test coverage detected