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 05:51:59 GMT
thanks for confirming, I think it is acceptable, though not ideal.


Just wondering, since we can modify individual field with Futon, why don't we expose the API
? rgds,
canal




________________________________
From: Jesse Hallett <hallettj@gmail.com>
To: user@couchdb.apache.org
Sent: Friday, September 25, 2009 9:54:10 AM
Subject: Re: is there a way to pass a request parameter to a view ?

Sorry, you have to upload the whole doc.  You do not have to send
attachments again though.

On Sep 24, 2009 6:14 PM, "go canal" <gocanal@yahoo.com> wrote:

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 2...



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