Enumeration writeMode

Map write mode.

Write mode is used to determine the criteria for a successful operation.

Map write mode should only be used for server versions prior to v4.3. For server versions v4.3 or later, the use of writeFlags is recommended.

since v3.5.0

Enumeration Members

Enumeration Members

CREATE_ONLY: number

If the key already exists, the write will fail. If the key does not exist, a new item will be created.

UPDATE: number

If the key already exists, the item will be overwritten. If the key does not exist, a new item will be created. This is the default write mode.

UPDATE_ONLY: number

If the key already exists, the item will be overwritten. If the key does not exist, the write will fail.

MMNEPVFCICPMFPCPTTAAATR