Enumeration StoreSemantics

Represents the storage semantics to use for some types of operations.

Enumeration Members

Enumeration Members

Insert: 2

Indicates that insert semantics should be used. This will insert the document if it does not exist, and fail the operation if the document already exists.

Replace: 0

Indicates that replace semantics should be used. This will replace the document if it exists, and the operation will fail if the document does not exist.

Upsert: 1

Indicates that upsert semantics should be used. This will replace the document if it exists, and create it if it does not.