Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Set/Lists

Command

SREM key member [member1,...]


Description


Remove the specified members from the set stored at key. Specified members that are not a member of this set are ignored. If key does not exist, it is treated as an empty set and this command returns 0.


Return value


Integer: The number of members that were removed from the set, not including non existing members.


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> SREM users dean
1




Symisc Systems
Copyright © Symisc Systems