X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/a4460ef43f9625e6c09cdc327614d1b47c043489..12ebe2ac17a26ecf263f90b2acdf03db29b00223:/doc/ZremCommand.html diff --git a/doc/ZremCommand.html b/doc/ZremCommand.html new file mode 100644 index 00000000..ecc4b982 --- /dev/null +++ b/doc/ZremCommand.html @@ -0,0 +1,42 @@ + + + + + + + +
+ + + +
+
+ +ZremCommand: Contents
  ZREM _key_ _member_ (Redis >
    Return value +
+ +

ZremCommand

+ +
+ +
+ +
+ #sidebar SortedSetCommandsSidebar

ZREM _key_ _member_ (Redis >

1.1) = +Time complexity O(log(N)) with N being the number of elements in the sorted set
Remove the specified member from the sorted set value stored at key. If_member_ was not a member of the set no operation is performed. If keydoes not not hold a set value an error is returned.
+

Return value

Integer reply, specifically:

+1 if the new element was removed
+0 if the new element was not a member of the set
+
+ +
+ +
+
+ + +