kevy4.0

SINTERSTORE

Store the intersection of the given sets into destination.

SINTERSTORE destination key [key ...]
Group
Set
Since
1.0.0
Arity
at least 3
Flags
write

Complexity

O(sum of the source cardinalities) + O(result); same no-smallest-first algorithm

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

SADDSCARDSDIFFSDIFFSTORESINTERSISMEMBERSMEMBERSSPOPSRANDMEMBERSREMSSCANSUNIONSUNIONSTORE

← All commands