Module Hub Beta

MSISMEMBER

key1 [key2 ...] ele

Checks for ele‘s membership in multiple Sets.

Return Value

Integer reply: the number of Sets that ele belongs to.

Examples

redis> SADD admins Alice Bob Charles
(integer) 3
redis> SADD oncall Zoe Bob Xavier
(integer) 3
redis> MSISMEMBER admins oncall Alice
(integer) 1
redis> MSISMEMBER admins oncall Zoe
(integer) 1
redis> MSISMEMBER admins oncall Bob
(integer) 2

© 2017 Redis Labs, Inc. All rights reserved.