PutDocumentQuery Properties |
The PutDocumentQuery type exposes the following members.
Name | Description | |
---|---|---|
![]() | IgnoreRevs |
By default, or if this is set to true, the _rev attributes in
the given document is ignored. If this is set to false,
then the _rev attribute given in the body document is taken as a precondition.
The document is only replaced if the current revision is the one specified.
|
![]() | ReturnNew |
Whether to return the complete new revision of the changed
document under New.
|
![]() | ReturnOld |
Whether to return the complete previous revision of the changed
document under Old.
|
![]() | Silent |
If set to true, an empty object will be returned as response.
No meta-data will be returned for the replaced document.
This option can be used to save some network traffic.
|
![]() | WaitForSync |
Wait until document has been synced to disk.
|