Skip to main content

unlock

Function unlock 

Source
pub async fn unlock(db: &Db, key: &str, owner: &str) -> Result<()>
Expand description

Releases the lock key if owner holds it. One D1 write.

ยงErrors

A D1 error.