ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying pouchdb database for anything not wrapped here.
Writes a document keyed by _id = key (PouchDB put), merging key in as its _id.
Native insert: stores a document as-is (must carry its own _id).
Reads a document by _id (PouchDB get).
Deletes a document by _id. PouchDB needs the current _rev to delete, so
this first gets the document, then removes it.
Applies a list of put/del operations. Puts go through bulkDocs; deletes are resolved individually.
Lists document ids via allDocs. With prefix, restricts to ids
>= prefix and <= prefix + '' (PouchDB's startkey/endkey range).
Optionalprefix: string
PouchdbStorewraps apouchdbdatabase and exposes both a common KV surface —put/get/delkeyed on_id,batch,list— and PouchDB's nativeinsert/allDocsoperations.