incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gaoyong pan <pan.gaoy...@gmail.com>
Subject Re: conflict determination not by fields
Date Tue, 30 Aug 2011 05:48:00 GMT
2011/8/29 Victor Nicollet  :
> Hello,
>
> There are ways. One of them would be to store each object as multiple
> timestamped insert-only "diff" documents ("on August 29, I set the phone
> number to XXX") and have a reduce operation merge those documents into a
> single object.

Do you have an example code that shows the json diff algorithm, what
will the diff document looks like?
I also want to know how a reduce operation can merge these diff documents.

--
Pan

Mime
View raw message