The previous revision doesn't have a sequence number and won't appear in the changes feed.
B. On 18 December 2012 19:02, Ciprian Dorin Craciun <[email protected]> wrote: > Hello all! > > As noted in the subject I want to accomplish the following: having > a particular document's revision I want to find out which is it's > change sequence number. > > According to the documentation all I have to do is issue the > following query to get the sequence number of the "latest" revision: > http://.../database/document?revs_info=true&local_seq=true > > As such I've assumed that I can obtain that similarly even for > previous revisions like this: > > http://.../database/document?rev=2-c33bbeaf4151d68d81f7e27f9cb0c03e&local_seq=true > > Unfortunately it doesn't work (as in it doesn't include any > `_local_seq` attribute)... Any suggestions? > > (I know that I could find that information by scrolling through > the `_changes` feed but that would be quite inefficient.) > > Thanks, > Ciprian.
