PouchDB Live Query Plugin
Provide a view which keeps itself up to date by listening to the changes feed.
⚠️ Very alpha.
pouchdb-live-query is hosted on npm.
npm install pouchdb-live-query
var PouchDB =PouchDB
Use the browserified build.
var db = 'mydb'db
fun: The name of a view in an existing design document, e.g.
options.include_docs: Include the document in each row in the doc field.
options.descending: Reverse the order of the output rows.
options.endkey: Return only rows between these.
callback- Currently works only with promises.
options.key- Key exact match is ignored on view update.
options.reduce- No reduce support at all. Just to mention some...