Retrieve all recently modified documents in the CouchDB database

Using the following code:

db.changes({'include_docs':true}).on('response', function (res) {
    res.on('data', function (change) {
        console.log(change);
    });
});

I can get all (old and new) documents that have been changed in the database, but how can I get recently changed documents?

+5
source share
1 answer

See parameter since, more details in docs changes

0
source

All Articles