couch-sync
this is like following a view!
couch-sync
requests a view, then listens on the _changes feed, pipeing the results through the map function
so that you have always upto date view data, in memory!
npm install couch-sync
var sync =url: 'http:you.iriscouch.com/database' auth: ...name: 'whatever' //name for design doc{//see the couch documentation for filters}{// see the couch documentation for views}sync
todo
- encourage the couchdb team to include this feature into couchdb