Sets

📄️ SADD Add one or more members to a set

📄️ SADDEX Add one or more expiring members to a set

📄️ SCARD Get the number of members in a set

📄️ SDIFF Subtract multiple sets

📄️ SDIFFSTORE Subtract multiple sets and store the resulting set in a key

📄️ SINTER Intersect multiple sets

📄️ SINTERSTORE Intersect multiple sets and store the resulting set in a key

📄️ SISMEMBER Determine if a given value is a member of a set

📄️ SMEMBERS Get all the members in a set

📄️ SMISMEMBER Returns the membership associated with the given elements for a set

📄️ SMOVE Move a member from one set to another

📄️ SPOP Remove and return one or multiple random members from a set

📄️ SREM Remove one or more members from a set

📄️ SSCAN Incrementally iterate Set elements

📄️ SUNION Add multiple sets

📄️ SUNIONSTORE Add multiple sets and store the resulting set in a key