Skip to content

SADD

The Redis Sadd command adds one or more member elements to a collection, and member elements that already exist in the collection will be ignored.

Syntax

SADD key member [member ...]

Return

The number of deleted keys.