newValue = redis.json.nummultby("key", "$.path.to.array", 2)

Arguments

key
str
required

The key of the json entry.

path
str
default:
"$"

The path of the array.

multiply
number
required

The number to multiply by.

Response

The new value after multiplying

newValue = redis.json.nummultby("key", "$.path.to.array", 2)