In Redis, the SINTERCARD
command returns the cardinality of the set which would result from the intersection of all the given sets. It’s similar to SINTER
, but instead of returning the result set, it returns just the cardinality of the result.
The SINTERCARD
command was introduced in Redis 7.0.0.