Repository navigation
DEV: (cmds) update JSON commands return info and add new one - #4211
Merged
Merged
Conversation
mich-elle-luna
approved these changes
Oct 5, 2026
mich-elle-luna
left a comment
Collaborator
There was a problem hiding this comment.
content looks good to me, but I didn't check preview links as github is sadops :(
Contributor
Contributor
🧠 Redis MemoryFound 5 related items from repository history (5 new this commit):
Memory updated at ac2e3c1 |
EliShteinman
added a commit
to EliShteinman/docs
that referenced
this pull request
Oct 6, 2026
Adds the JSON.NUMPOWBY command page and rewrites the NUMINCRBY/NUMMULTBY return info. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Low Risk
Documentation-only changes to command reference pages and a new SVG diagram; no runtime or API implementation in this diff.
Overview
Updates RedisJSON command reference docs to match current return shapes and error behavior for numeric path operations, and documents
JSON.NUMPOWBY(RedisJSON 2.0).JSON.NUMINCRBYandJSON.NUMMULTBY: the Return information sections now describe$paths as a JSON array (one element per match, empty when nothing matches), clarify that.paths update all matched numbers and return the last new value, and call out simple errors for missing keys, out-of-range results, and non-numeric matches (instead of implying null replies in those cases). RESP3 is documented as a uniform array of integers/doubles/nulls regardless of path syntax.JSON.NUMMULTBY: removes thedeprecated_since: '2.0'frontmatter flag and treatspathas a required argument (withkey path valueordering in the argument list), dropping the old optional-path/default-root wording.JSON.NUMPOWBY: adds a full command page (syntax, examples, integer vs float exponent rules, overflow/NaN errors, compatibility table, RESP2/RESP3 return info) plus thejson.numpowby.svgrailroad diagram.Reviewed by Cursor Bugbot for commit ac2e3c1. Bugbot is set up for automated code reviews on this repo. Configure here.