Documentation

StoreSemantics

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

Table of Contents

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

Constants

REPLACE

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

public mixed $REPLACE = ""

UPSERT

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

public mixed $UPSERT = 1

INSERT

Create the document or fail if it already exists.

public mixed $INSERT = 2

Search results