crdt-couchdb
A subclass of crdt
which sources data
from CouchDB and updates them in real-time. It supports pre-fetching of views
and filtering of changes with CouchDB filters (using changes
).
Usage
var Doc = Doc CouchDBDoc = CouchDBDoc; var dest = destStream = dest doc docStream; doc = url: 'http://localhost:5984/crdt' view: 'app/app' // View you want to pre-fetch from (optional) filter: 'app/app' // Filter you want to use for `_changes` feed (optional) { // Map function (optional) ; };docStream = doc; docStream; doc; dest; dest;