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

Method lock

src/query/helper.rs:429–432  ·  view source on GitHub ↗

Select lock

(mut self, lock_type: LockType)

Source from the content-addressed store, hash-verified

427
428 /// Select lock
429 fn lock(mut self, lock_type: LockType) -> Self {
430 self.query().lock(lock_type);
431 self
432 }
433
434 /// Select lock shared
435 fn lock_shared(mut self) -> Self {

Callers 15

into_transaction_logMethod · 0.80
beginMethod · 0.80
commitMethod · 0.80
rollbackMethod · 0.80
executeMethod · 0.80
execute_unpreparedMethod · 0.80
query_oneMethod · 0.80
query_allMethod · 0.80
streamMethod · 0.80
get_database_backendMethod · 0.80
executeMethod · 0.80
query_oneMethod · 0.80

Implementers 1

cursor.rssrc/executor/cursor.rs

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected