ZREM key member [member …]
Time complexity: O(M*log(N)) with N being the number of elements in the sorted set and M the number of elements to be removed.
Removes the specified members from the sorted set stored at . Non existing members are ignored.
Integer reply, specifically:
- : Accepts multiple elements. In Redis versions older than 2.4 it was possible to remove a single member per call.
redis> ZADD myzset 1 "one"
redis> ZADD myzset 3 "three"
redis> ZREM myzset "two"