5
使用所有最近更改文件下面的代碼:獲取在CouchDB的數據庫
db.changes({'include_docs':true}).on('response', function (res) {
res.on('data', function (change) {
console.log(change);
});
});
我能夠得到所有(舊&新),它們在數據庫中更改,但我怎麼能得到已更改的文件文件最近?
是複製這一要求? – 2012-08-07 17:49:46