Skip to main content

lock_by_key

Function lock_by_key 

Source
pub async fn lock_by_key<C: ConnectionTrait>(db: &C, key: &str) -> Result<()>
Expand description

Locks one row by key where the database supports row locks.