incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From go canal <goca...@yahoo.com>
Subject Re: is there a way to pass a request parameter to a view ?
Date Fri, 25 Sep 2009 01:14:22 GMT
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 <jan@apache.org>
To: user@couchdb.apache.org
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 <jan@apache.org>:
>>
>> 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
--


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