Hi.
I am getting(GET) all the docs from my database in order to try and update
certain data in all of them and then POST the edited docs to update the
database.


However, the documents contain extra data which looks like this:

 "id": "d8d006c66c0e4555bf12e5d086003010",
      "key": "d8d006c66c0e4555bf12e5d086003010",
      "value": {
        "rev": "28-38526f3787b1fcedc82624419709c347"
      },
      "doc": { ....


This is followed by the actual document:

 "_id": "d8d006c66c0e4555bf12e5d086003010",
 "_rev": "28-38526f3787b1fcedc82624419709c347",
        ...........etc.



Is there a way to get output without this data added?

If not I presume one must remove this manually every time one wishes to
edit documents.

Many thanks.

John

Reply via email to