JSON.MERGE

Syntax
JSON.MERGE key path value
Available in:
Redis Stack / JSON 2.6.0
Time complexity:
O(M+N) 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, O(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 at a path.

Rate this page