Skip to main content

SINTER

Syntax

SINTER key [key...]

Module

set

Categories

read set slow

Description

Returns the intersection of multiple sets.

Examples

Get the difference between 2 sets:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
elements, err := db.SInter("key1", "key2")