On 22 February 2011 14:50, Luis Carlos Junges <[email protected]> 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 replicated, and are destroyed
on compaction.  If you want to present some timeline of revisions, I
suggest storing some representation of that timeline in an attribute
of the document in question.

Consider adopting a strategy like the one presented here
http://blog.couchone.com/post/632718824

Regards
Jon

Reply via email to