 | StoreSemantics Enumeration |
Flags for indicating additional actions when working with MutateIn Sub-Document operations.
Namespace:
Couchbase.KeyValue
Assembly:
Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax[FlagsAttribute]
public enum StoreSemantics
Members
| Member name | Value | Description |
---|
| Replace | 0 |
Replace the document; fail if the document does not exist.
|
| Upsert | 1 |
Creates the document; update the document if it exists.
|
| Insert | 2 |
Create the document; fail if it exists.
|
| AccessDeleted | 4 |
Allows access to a deleted document's attributes section.
Only for internal diagnostic use only and is an unsupported feature.
|
See Also