Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Latest commit

 

History

History
46 lines (30 loc) · 1.05 KB

File metadata and controls

46 lines (30 loc) · 1.05 KB
code type title description
true
page
sinter
MemoryStorage:sinter

sinter

Returns the intersection of the provided sets of unique values.

[Redis documentation]


sinter(keys, [options], callback)

Arguments Type Description
keys string List of sets of unique values to intersect
options JSON Object Optional parameters
callback function Callback

Options

Option Type Description Default
queuable boolean Make this request queuable or not true

Callback Response

Returns an array of values in the computed intersection.

Usage

<<< ./snippets/sinter-1.java

Callback response:

["intersection value1", "intersection value2", "..."]