Enum SubdocDocFlags
Flags for indicating additional actions when working with subdocument documents.
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
[Flags]
public enum SubdocDocFlags : byte
Fields
Name | Description |
---|---|
AccessDeleted | Allows access to a deleted document's attributes section. Only for internal diagnostic use only and is an unsupported feature. |
CreateAsDeleted | If the server needs to create a new document, it will create it as a tombstone. Any system or user xattrs provided in the request will be stored, but a document body will not be. |
InsertDocument | Similar to UpsertDocument, except that the operation only succeds if the document does not exist. This option makes sense in the context of wishing to create a new document together with Xattrs. |
None | No document flags have been specified. |
ReplicaRead | Specifies that the request is being sent to a replica. |
UpsertDocument | Creates the document if it does not exist. |