X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/45636487143097d360dfba4f3fa602b08927e355..c086b85afb1f0f2d9aa76faa5a4c8536380670a2:/doc/ZremrangebyrankCommand.html diff --git a/doc/ZremrangebyrankCommand.html b/doc/ZremrangebyrankCommand.html new file mode 100644 index 00000000..b2562295 --- /dev/null +++ b/doc/ZremrangebyrankCommand.html @@ -0,0 +1,39 @@ + + + + + + + +
+ + + +
+
+ +ZremrangebyrankCommand: Contents
  ZREMRANGEBYRANK _key_ _start_ _end_ (Redis >
    Return value +
+ +

ZremrangebyrankCommand

+ +
+ +
+ +
+ +

ZREMRANGEBYRANK _key_ _start_ _end_ (Redis >

1.3.4) = +Time complexity: O(log(N))+O(M) with N being the number of elements in the sorted set and M the number of elements removed by the operation
Remove all elements in the sorted set at key with rank between start and end. Start and end are 0-based with rank 0 being the element with the lowest score. Both start and end can be negative numbers, where they indicate offsets starting at the element with the highest rank. For example: -1 is the element with the highest score, -2 the element with the second highest score and so forth.
+

Return value

Integer reply, specifically the number of elements removed. +
+ +
+
+ + +