 | SubdocDocFlags Enumeration |
Flags for indicating additional actions when working with subdocument documents.
Namespace:
Couchbase.KeyValue
Assembly:
Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax[FlagsAttribute]
public enum SubdocDocFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No document flags have been specified.
|
| UpsertDocument | 1 |
Creates the document if it does not exist.
|
| InsertDocument | 2 |
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.
|
| AccessDeleted | 4 |
Allows access to a deleted document's attributes section.
Only for internal diagnostic use only and is an unsupported feature.
|
See Also