Description Usage Arguments Details Value Author(s) References See Also Examples
Add the element to the specified set.
1 | redisSAdd(set, element)
|
set |
The string set identifier. |
element |
The object to add to the set. |
If member is already a member of the set no operation is performed. If key does not exist a new set with the specified member as sole member is created. If the key exists but does not hold a set value an error is returned.
TRUE if the element was successfully added, FALSE otherwise (including cases in which the element already belonged to the set).
B. W. Lewis
http://redis.io/commands
1 2 3 4 5 | ## Not run:
redisConnect()
redisSAdd("set", 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.