import { CookieDB } from "https://deno.land/x/cookie_driver@0.1.0/mod.ts";
Main CookieDB interface
Methods
get()
table: string,
key: string,
expandKeys?: boolean,
Get a document from table by key. Optionally can join documents by foreign keys
select(): Promise<any[]>
table: string,
options?: { maxResults?: number; showKeys?: boolean; expandKeys?: boolean; },
Selects a number of documents from a table. Accepts an options argument that specifies the maximum amount of results, whether to display keys, and whether to join documents by foreign keys.