thanks !

Can I use this bulk update to change a field without uploading the full doc:

{
  "docs": [
    {"_id": "1", "_rev": "1-2089673485", "integer": 2},
    {"_id": "2", "_rev": "1-2063452834", "integer": 3, "string": "3"}
  ]
} 

So for doc _id 1, I only change 'integer'; will the rest be kept intact, or 
CouchDB will actually create a new doc with 'integer' only ?
rgds,
canal 




________________________________
From: Jan Lehnardt <[email protected]>
To: [email protected]
Sent: Thursday, September 24, 2009 7:02:30 PM
Subject: Re: is there a way to pass a request parameter to a view ?


On 24 Sep 2009, at 12:40, Matt Goodall wrote:

> 2009/9/24 Jan Lehnardt <[email protected]>:
>>
>> On 24 Sep 2009, at 02:31, go canal wrote:
>>
>>> no problem. the link is still very useful.
>>>
>>> I found 'HTTP_Bulk_Document_API' but empty page now
>>> http://wiki.apache.org/couchdb/%5BHTTP_Bulk_Document_API
>>
>> Where di you find this (broken) link? The correct link is
>> http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API
>> and it is not empty :)
>
> It was here, http://wiki.apache.org/couchdb/HTTP_Document_API, and I
> just fixed the link. (I happened to be looking at the wiki so simply
> searched for the bad link text.)
>

D’oh me. Thanks Matt!

Cheers
Jan
--


      

Reply via email to