Skip to main content
Module

x/kvdex/mod.ts

Database wrapper for Deno KV
Go to Latest
import * as kvdex from "https://deno.land/x/kvdex@v0.9.1/mod.ts";

Classes

Builder object for creating and executing atomic operations in the KV store.

Represents a collection of documents stored in the KV store.

Represents a collection of object documents stored in the KV store.

Functions

Delete document indices using an atomic operation.

Extend a kv key with key parts.

Flattens a document at the top level, placing the id and versionstamp together with the document data. Only applicable to documents of type Model.

Generate a random document id.

Get a document id from a document key.

Determine whether a kv value is an instance of KvObject.

Compare two kv keys for equality.

Create a new database instance.

Set document indices using an atomic operation.

Type Aliases