couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Mische <volker.mis...@gmail.com>
Subject Re: How Does CouchDB Generate _rev Strings
Date Tue, 05 Oct 2010 16:37:13 GMT
On 05.10.2010 04:19, Robert Sosinski wrote:
> Hello,
>
> I just wanted to ask how CouchDB generates the string used for the
> _rev.  The first part (being the number) is pretty self explanatory.
> However, I have not yet figured out how the second part that looks
> like a MD5 digest is created.  Would it be possible to
> deterministically predict the _rev "digest" before saving the
> document?
>
> Any clarification would help.
>
> Thanks,
>
> -Robert

Hi Robert,

have a look in the CouchDB Definitive Guide:
http://guide.couchdb.org/draft/conflicts.html#deterministic

Cheers,
   Volker

Mime
View raw message