Documentation

StoreSemantics

An object which contains how to define the document level action to take during a MutateIn operation.

Table of Contents

INSERT  = 2
Create the document or fail if it already exists.
REPLACE  = 0
Replace the document, and fail if it does not exist.
UPSERT  = 1
Replace the document or create it if it does not exist.

Constants

INSERT

Create the document or fail if it already exists.

public mixed INSERT = 2

REPLACE

Replace the document, and fail if it does not exist.

public mixed REPLACE = 0

UPSERT

Replace the document or create it if it does not exist.

public mixed UPSERT = 1

Search results