pub async fn release(
pool: &Pool,
page_id: i64,
user_id: i64,
) -> Result<bool, ExecError>Expand description
Release a lock owned by user_id. No-op if the row is missing,
stale, or owned by someone else (the caller’s session ended; we
shouldn’t silently unlock another user’s edit).
§Errors
Driver / query failures.