An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - Set/Lists
Command
SIDFF key [key2,...]
Description
Returns the members of the set resulting from the difference between the first set and all the successive sets.
Return value
Array: array of Keys that do not exist are considered to be empty sets.
Example
Refer to the download page for some C/C++ samples on how to invoke this command from your host application.
vedis> SADD users james dean tareq
3
vedis> SADD registered alex dean jim
3
vedis> SDIFF users registered
1)james
2)tareq
3
vedis> SADD registered alex dean jim
3
vedis> SDIFF users registered
1)james
2)tareq
Copyright © Symisc Systems