Json
JSON.NUMMULTBY
Multiply the number value stored at `path` by number.
Arguments
keybodystringrequired
The key of the json entry.
pathbodystringrequired
The path of the array. $ is the root.
multiplybodynumberrequired
The number to multiply by.
Response
integer[]required
The new value after multiplying
Example
const newValue = await redis.json.nummultby("key", "$.path.to.value", 2);