incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: simultaneously run update handler and update doc content
Date Wed, 20 Nov 2013 08:04:49 GMT
On Wed, Nov 20, 2013 at 12:01 PM, Vivek Pathak <vpathak@orgmeta.com> wrote:
> On 11/20/2013 02:48 AM, Alexander Shorin wrote:
>>
>> First problem is that your update function works with `doc` argument -
>> that is the stored within database document -, not that you had sent
>> with PUT request. To process the request payload you need to work with
>> req.body data, but in your case this isn't need to.
>>
>> Second is that both text and timestamp have actually changed - take a
>> look on them one more time (;
>
>
> I see "hello 123" in both the text fields.  Not sure what you see as the
> change.

Your update function changes only serverISO8601time and serverTime
fields, not any others.

--
,,,^..^,,,

Mime
View raw message