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

Class Transaction

src/database/mock.rs:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50/// Defines a database transaction as it holds a Vec<[Statement]>
51#[derive(Debug, Clone, PartialEq)]
52pub struct Transaction {
53 stmts: Vec<Statement>,
54}
55
56impl MockDatabase {
57 /// Instantiate a mock database with a [DbBackend] to simulate real

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected