Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method Deno.Kv.prototype.delete

Delete the value for the given key from the database. If no value exists for the key, this operation is a no-op.

const db = await Deno.openKv();
await db.delete(["foo"]);

Returns

Promise<void>