incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Goodall <matt.good...@gmail.com>
Subject Re: getting all revisions from _changes
Date Fri, 16 Apr 2010 11:29:09 GMT
On 16 April 2010 11:53, Sebastian Cohnen <sebastiancohnen@googlemail.com> wrote:
> see http://wiki.apache.org/couchdb/HTTP_database_API#Changes - I think you are looking
for the since parameter

The since parameter will not help, _changes only ever sends the last
rev of a document.

Erich, it sounds like you're trying to track multiple versions of a
document. If that's correct then don't rely on revs. Multiple versions
is something you need to handle yourself.

- Matt

>
> On 16.04.2010, at 12:46, erich oliphant wrote:
>
>> Hi,
>> I am using the _changes API and noticed that it only seems to keep track of
>> the latest revisions of a document.  E.g. if I have change number 1,
>> _id=1,_rev=1, then update document _id=1 to _rev=2, hitting the _changes URL
>> only shows the _rev=2 and removes the first change id.  Is there a way to
>> see *all* changes ?
>>
>> --
>> Erich Oliphant
>>
>> "There are, in fact, two things, science and opinion, the former begets
>> knowledge, the latter ignorance"
>> -- Hippocrates of Cos
>
>

Mime
View raw message