kevy4.0

SINTER

Return the intersection of the given sets (cross-shard gather).

SINTER key [key ...]
Group
Set
Since
1.0.0
Arity
at least 2
Flags
readonly

Complexity

O(sum of the source cardinalities) — there is NO smallest-set-first ordering, so SINTER huge tiny costs O(huge) where Redis costs O(tiny * k)

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

SADDSCARDSDIFFSDIFFSTORESINTERSTORESISMEMBERSMEMBERSSPOPSRANDMEMBERSREMSSCANSUNIONSUNIONSTORE

← All commands