summaryrefslogtreecommitdiff
path: root/src/commands/zrevrangebyscore.json
diff options
context:
space:
mode:
authorItamar Haber <itamar@redis.com>2023-03-29 20:48:59 +0300
committerGitHub <noreply@github.com>2023-03-29 20:48:59 +0300
commit0c3b8b7e90ea242640a417abb5c40f30dfc3e036 (patch)
tree6eac70dd7a4feb4b7338d589fd6c221992b96970 /src/commands/zrevrangebyscore.json
parentcb1717865804fdb0561e728d2f3a0a1138099d9d (diff)
downloadredis-0c3b8b7e90ea242640a417abb5c40f30dfc3e036.tar.gz
Overhauls command summaries and man pages. (#11942)
This is an attempt to normalize/formalize command summaries. Main actions performed: * Starts with the continuation of the phrase "The XXXX command, when called, ..." for user commands. * Starts with "An internal command...", "A container command...", etc... when applicable. * Always uses periods. * Refrains from referring to other commands. If this is needed, backquotes should be used for command names. * Tries to be very clear about the data type when applicable. * Tries to mention additional effects, e.g. "The key is created if it doesn't exist" and "The set is deleted if the last member is removed." * Prefers being terse over verbose. * Tries to be consistent.
Diffstat (limited to 'src/commands/zrevrangebyscore.json')
-rw-r--r--src/commands/zrevrangebyscore.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/zrevrangebyscore.json b/src/commands/zrevrangebyscore.json
index 163faec57..ab040527e 100644
--- a/src/commands/zrevrangebyscore.json
+++ b/src/commands/zrevrangebyscore.json
@@ -1,6 +1,6 @@
{
"ZREVRANGEBYSCORE": {
- "summary": "Return a range of members in a sorted set, by score, with scores ordered from high to low",
+ "summary": "Returns members in a sorted set within a range of scores in reverse order.",
"complexity": "O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).",
"group": "sorted_set",
"since": "2.2.0",