Skip to content

Commit 40a66f9

Browse files
authored
path set as required in json.numincrby.md (RedisJSON#935)
* Update json.numincrby.md * Update json.numincrby.md
1 parent 9167e1d commit 40a66f9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/commands/json.numincrby.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ Increment the number value stored at `path` by `number`
99
is key to modify.
1010
</details>
1111

12-
<details open><summary><code>value</code></summary>
12+
<details open><summary><code>path</code></summary>
1313

14-
is number value to increment.
14+
is JSONPath to specify.
1515
</details>
1616

17-
## Optional arguments
18-
19-
<details open><summary><code>path</code></summary>
17+
<details open><summary><code>value</code></summary>
2018

21-
is JSONPath to specify. Default is root `$`.
19+
is number value to increment.
2220
</details>
2321

2422
## Return

0 commit comments

Comments
 (0)