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

Method commit

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

Source from the content-addressed store, hash-verified

196 /// Will panic if the lock cannot be acquired.
197 #[instrument(level = "trace")]
198 pub fn commit(&self) {
199 self.mocker
200 .lock()
201 .expect("Failed to acquire mocker")
202 .commit()
203 }
204
205 /// Roll back a faulty transaction
206 ///

Callers 7

transaction_begin_commitFunction · 0.45
exec_with_connectionFunction · 0.45
upMethod · 0.45
downMethod · 0.45
create_with_passwordMethod · 0.45
create_with_passwordMethod · 0.45
create_with_passwordMethod · 0.45

Calls 1

lockMethod · 0.80

Tested by 3

transaction_begin_commitFunction · 0.36
upMethod · 0.36
downMethod · 0.36