Re: Get All Versions of a document

2011-02-22 Thread Robert Johnson
Carlos There is a revision number (which is sequential) but you cannot rely on this in 2 cases, first if you are replicating then you may not get all the versions replicated (if a document is updated twice between replication cycles then the intermediate state will not be replicated) second if

Re: Get All Versions of a document

2011-02-22 Thread Henrik Lundgren
>From the Wiki: http://localhost:5984/my_database/my_document?revs=true If the document was requested with ?revs=true this field will hold a simple list of the documents history Read more here: http://wiki.apache.org/couchdb/HTTP_Document_API#Special_Fields /Henrik On Tue, Feb 22, 2011 at 3:50

Re: Get All Versions of a document

2011-02-22 Thread Jonathan Stott
On 22 February 2011 14:50, Luis Carlos Junges wrote: > How can i get all version from a document? I wil need to it to print a > timeline report. The simplest answer is "You shouldn't". The revisions couchdb stores can't be relied upon for any kind of document versioning. They're not always repl

Get All Versions of a document

2011-02-22 Thread Luis Carlos Junges
Hi, How can i get all version from a document? I wil need to it to print a timeline report. I just could find on docs retriveing an specific document with the version in hands, but not all of then. -- "A realidade de cada lugar e de cada época é uma alucinação coletiva." Bloom, Howard