I need to check whether a key of datatype set is present or not. How to find it? Any property in Redis? Checked in redis commands, but didn’t find any. Please help.
Example : sadd(“Uid132423″,”Apple”);
Need to check whether “Uid132423” exists. Please help.
Probably you have to use SCARD. It returns 0 if key does not exist.