couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: CouchDB: Most recently added document that is NOT a design document
Date Tue, 07 Jan 2014 03:02:44 GMT

On Jan 6, 2014, at 5:13 PM, Lars <> wrote:

>> It’s not really any different. They appear in the _changes feed just as local changes
> But you only get the leaf revisions of the documents, not neccessarily
> the first revision, which "added" the document.

But you’re not going to get the first revision of a locally-created document either, not
if it’s been modified since then — you’ll just see it with its current revision/generation.
(A document only appears once in the _changes feed at any given moment. The _changes feed
is not a complete history of every change in the database. It’s more like a list of the
current documents sorted by time last modified.)

View raw message