JSON.NUMMULTBY

    Multiply the number value stored at by number

    Required arguments

    is key to modify.

    value

    path

    is JSONPath to specify. Default is root .

    Return

    1. dragonfly> JSON.SET doc . '{"a":"b","b":[{"a":2}, {"a":5}, {"a":"c"}]}'
    2. OK
    3. dragonfly> JSON.NUMMULTBY doc $.a 2
    4. dragonfly> JSON.NUMMULTBY doc $..a 2

    See also

    JSON.NUMINCRBY | JSON.ARRINSERT