Arguments
string
required
The key of the json entry.
string
default:"$"
The path of the array.
number
required
The number to multiply by.
Response
The new value after multiplying
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const newValue = await redis.json.nummultby("key", "$.path.to.array", 2);
Multiply the number value stored at path by number.
const newValue = await redis.json.nummultby("key", "$.path.to.array", 2);
Was this page helpful?