If the key already exists, the write will fail. If the key does not exist, a new item will be created.
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.
If the key already exists, the item will be overwritten. If the key does not exist, the write will fail.
Map write mode.
Remarks
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.
Deprecated
since v3.5.0