Skip to main content

KV_ADD

Stores key-values if the key does not already exist.

This command is the same as KV_SET but it will not overwrite an existing key.

If keys contains a key that already exists, it is ignored and the existing value is not changed.

Response

KV_ADD_RSP

See the response status page for status values.

ParamTypeMeaning
stunsigned intStatus

Possible status values:

  • ParamMissing
  • ValueTypeInvalid