Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ into_transaction
Method
into_transaction
src/database/mock.rs:417–422 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
415
}
416
417
fn into_transaction(self) -> Transaction {
418
match self.transaction_depth {
419
0 => Transaction { stmts: self.stmts },
420
_ => panic!(
"There is uncommitted nested transaction"
),
421
}
422
}
423
}
424
425
#[cfg(test)]
Callers
2
commit
Method · 0.80
rollback
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected