Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Set/Lists

Command

SMEMBERS key


Description


Returns all the members of the set value stored at key.


Return value


Array: array of all elements of the set.


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> SMEMBERS users
1)james
2)dean
3)tareq




Symisc Systems
Copyright © Symisc Systems