import { Collection } from "https://deno.land/x/kvdex@v0.1.2/mod.ts";
Type Parameters
T extends KvValue
Methods
deleteMany(options?: ListOptions<T>)
Deletes multiple documents from the KV store according to the given options.
If no options are given, all documents are deleted.
findMany(ids: KvId[], options?: FindManyOptions)
Finds multiple documents with the given array of ids in the KV store.
forEach(fn: (doc: Document<T>) => void, options?: ListOptions<T>)
Executes a callback function for every document according to the given options.
If no options are given, the callback function is executed for all documents in the collection.
getMany(options?: ListOptions<T>)
Retrieves multiple documents from the KV store according to the given options.
If no options are given, all documents are retrieved.