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

Method begin

src/driver/mock.rs:185–190  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

183 /// Will panic if the lock cannot be acquired.
184 #[instrument(level = "trace")]
185 pub fn begin(&self) {
186 self.mocker
187 .lock()
188 .expect("Failed to acquire mocker")
189 .begin()
190 }
191
192 /// Commit a transaction atomically to the database
193 ///

Calls 1

lockMethod · 0.80