JSON.MSET
Syntax
JSON.MSET key path value [key path value ...]
- Available in:
- Redis Stack / JSON 2.6.0
- Time complexity:
- O(K*(M+N)) where k is the number of keys in the command, when path is evaluated to a single value where M is the size of the original value (if it exists) and N is the size of the new value, or O(K*(M+N)) when path is evaluated to multiple values where M is the size of the key and N is the size of the new value * the number of original values in the key
Sets or updates the JSON value of one or more keys.