Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keydb/sqlite.ts>Keydb#set

Simple Key-value storage module with support for multiple database backends.
Latest
method Keydb.prototype.set
Re-export
import { Keydb } from "https://deno.land/x/keydb@1.0.0/sqlite.ts";

Set a Key's Value.

Parameters

key: string

Name of the Key to set.

value: any

Value to set.

optional
ttl: number

Returns

Promise<this>