On 11 September 2010 02:32, Robert Wierschke <[email protected]> wrote:
> Hi,
>
> can I update/add a specific field of a document without GET the old version
> of the complete document and PUT the new version. E.g. something like
>
> curl -X GET http://localhost:5984/mydb/mydocument/newfield -d {"newfild":
> "new value"}

No. You need to PUT the whole doc. You can avoid most of the fetch if
you don't need the original doc, by just getting HEAD.

> Is it possible to GET a specific field without creating a view that selects
> the field?

No.

> kind regards
> robert

cheers
Dave

Reply via email to