couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Helmberger <sven.helmber...@gmx.de>
Subject Re: CouchDb in JAVA
Date Fri, 06 Mar 2009 18:31:40 GMT
Rodrigo Mansho wrote:
>   Hi, I wanna edit documents, but How can i get old versions of the
> documents? using jcouchdb 0.7.2.jar ?
> 
>   Thanks.

There is no support for retrieving old revisions in 0.7.2.

if you need that you have to update to the svn versions of both
jcouchdb and couchdb. in the svn there's a

Database#getDocument(Class<D> cls, String docId, String revision, 
JSONParser parser)

which provides access to old versions.

Regards,
Sven Helmberger

Mime
View raw message