Skip to main content

SUNIONSTORE

Syntax

SUNIONSTORE destination key [key...]

Module

set

Categories

set slow write

Description

Stores the union of the given sets into destination.

Examples

Stores the union of the given sets into destination:

vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
cardinality, err := vault.SUnionStore("destination", "key1", "key2")