Collections
Module Overview
Usage
- Node
- Deno
- Browser/ESM
import * as Collections from 'keywork/collections'
import * as Collections from 'https://deno.land/x/keywork/collections'
let Collections = await import('https://esm.sh/keywork/collections')
Classes
Interfaces
CollectionDocumentReferencesResponseCreateKeyworkDocumentMetadataOptionsFetchListOptionsKVNamespaceListKeyKVNamespaceListOptionsKVNamespaceListResultKeyworkDocumentFetchOptionsKeyworkDocumentMetadataKeyworkDocumentSnapshotDoesNotExistKeyworkDocumentSnapshotExistsPutOrPatchOptions
The missing piece that unlocks the full power of storing and querying data from your Worker. Keywork Collections are a NoSQL, eventually-consistent ODM for Cloudflare's Worker KV. With an API reminiscent of Firebase and MongoDB, Keywork Collections are perfect for migrating your existing backend to Cloudflare's network.
The
KeyworkCollectionclass extends the Worker KV API without abstracting away important details.Using Keywork collections from within a Cloudflare Worker.
Creating a advanced request handler with a Keywork Collection.