code | type | title |
---|---|---|
true |
page |
sinterstore |
Computes the intersection of the provided sets of unique values, and stores the result in a destination key.
If the destination key already exists, it is overwritten.
sinterstore(dest, keys, [options]);
Arguments | Type | Description |
---|---|---|
dest |
string |
Destination key |
keys |
string[] |
List of set keys to intersect |
options |
object |
Optional query arguments |
The options
arguments can contain the following option properties:
Property | Type (default) | Description |
---|---|---|
queuable |
boolean (true) |
If true, queues the request during downtime, until connected to Kuzzle again |
Resolves to the number of stored values.
<<< ./snippets/sinterstore.js