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