X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/a4460ef43f9625e6c09cdc327614d1b47c043489..4b53e7365c647235bbb3909596a7defe50709b67:/doc/SinterCommand.html diff --git a/doc/SinterCommand.html b/doc/SinterCommand.html index 0d1267dc..528945c5 100644 --- a/doc/SinterCommand.html +++ b/doc/SinterCommand.html @@ -16,7 +16,7 @@
-SinterCommand: Contents
  SINTER _key1_ _key2_ ... _keyN_
    Return value
    See also +SinterCommand: Contents
  SINTER _key1_ _key2_ ... _keyN_
    Return value

SinterCommand

@@ -26,11 +26,11 @@
-

SINTER _key1_ _key2_ ... _keyN_

-Time complexity O(NM) worst case where N is the cardinality of the smallest set and M the number of sets_

Return the members of a set resulting from the intersection of all thesets hold at the specified keys. Like in LRANGE the result is sent tothe client as a multi-bulk reply (see the protocol specification formore information). If just a single key is specified, then this commandproduces the same result as SELEMENTS. Actually SELEMENTS is just syntaxsugar for SINTERSECT.
+ #sidebar SetCommandsSidebar

SINTER _key1_ _key2_ ... _keyN_

+Time complexity O(NM) worst case where N is the cardinality of the smallest set and M the number of sets
Return the members of a set resulting from the intersection of all thesets hold at the specified keys. Like in LRANGE the result is sent tothe client as a multi-bulk reply (see the protocol specification formore information). If just a single key is specified, then this commandproduces the same result as SMEMBERS. Actually SMEMBERS is just syntaxsugar for SINTERSECT.
Non existing keys are considered like empty sets, so if one of the keys ismissing an empty set is returned (since the intersection with an emptyset always is an empty set).
-

Return value

Multi bulk reply, specifically the list of common elements.

See also

-
* SADD* SREM* SISMEMBER* SCARD* SMEMBERS* SINTERSTORE* SUNION* SUNIONSTORE* SMOVE
+

Return value

Multi bulk reply, specifically the list of common elements. +