You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/10/24 19:54:41 UTC

[GitHub] [couchdb] nickva commented on issue #2220: _bulk_docs batch deletion should require id, revision and deleted fields

nickva commented on issue #2220:
URL: https://github.com/apache/couchdb/issues/2220#issuecomment-1289525851

   This behavior is expected. It should be possible to insert a deleted document. `Deleted` is a just a `{"_deleted": true}` field or it may have additional data in the document body such as `{"_deleted": true, "extra_data": "foo"}`.
   
   Document ID auto-generation is also a supported feature and is orthogonal to the deleted/not deleted feature. If the _id is not present it will be generated as uuid.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org