incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ido Ran <>
Subject Revsion Explained
Date Sun, 12 Sep 2010 12:43:59 GMT
I've read that the _rev fiel in each document is composed of two parts -
integer which increment by 1 on each change and MD5 hash of the JSON of the
What part of the JSON is included in that hash?

I've created a new document with _id of "foo" and single field name "start"
with value "99". I've save the document and it got _rev of
I didn't change anything, just hit save again in Futon and not the _rev is
If I hit save again I get another hash.

Why is that?

Thank you,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message