JSON.NUMINCRBY

    Increment the number value stored at by number

    Required arguments

    key

    is key to modify.

    is number value to increment.

    is JSONPath to specify. Default is root $.

    Return

    JSON.NUMINCRBY returns a bulk string reply specified as a stringified new value for each path, or nil, if the matching JSON value is not a number. For more information about replies, see .

    Create a document.

    Increment a value of a object by 2. The command fails to find a number and returns .

    Recursively find and increment a value of all a objects. The command increments numbers it finds and returns null for nonnumber values.

    See also

    JSON.ARRINDEX |