Sunday, 12 April 2015

ZREM key member1 member2 ... memberN

Syntax
ZREM key member1 member2 ... memberN
    Removes the members from the sorted set.

Returns
Returns the number members removed from set.
127.0.0.1:6379> zadd set1 1 India 4 America 3 China 4 Japan 
(integer) 4 
127.0.0.1:6379> zrem set1 India China PTR 
(integer) 2 


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment