import { KeyworkDatabase } from "https://deno.land/x/keywork@v6.2.1/collections/KeyworkDatabase.ts";
Creates a database instance backed by a Cloudflare KV namespace.
Methods
collection(collectionPath: string)
Gets a KeyworkCollection
instance that refers to a collection of documents.
doc<ExpectedType extends DeserializationTypes | { } = never>(docPath: string)
Gets a KeyworkDocumentReference
instance that refers to the document at the specified absolute path.