Click or drag to resize

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
C#
[FlagsAttribute]
public enum SubdocDocFlags
Members
  Member nameValueDescription
None0 No document flags have been specified.
UpsertDocument1 Creates the document if it does not exist.
InsertDocument2 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.
AccessDeleted4 Allows access to a deleted document's attributes section. Only for internal diagnostic use only and is an unsupported feature.
See Also