Json

JSON.NUMMULTBY

Multiply the number value stored at `path` by number.

Arguments

keybodystrrequired

The key of the json entry.

pathbodystrrequired

The path of the number.

multiplybodynumberrequired

The number to multiply by.

Response

List[int]required

The new value after multiplying

Example
newValue = redis.json.nummultby("key", "$.path.to.value", 2)
Loading search…