pub async fn unlock(db: &Db, key: &str, owner: &str) -> Result<()>
Releases the lock key if owner holds it. One D1 write.
key
owner
A D1 error.