An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - Set/Lists
Command
SPOP key
Description
Removes and returns the last record from the set value stored at key
Return value
Value: The removed element, or nil when key does not exist or is empty.
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> SPOP users
tareq
3
vedis> SPOP users
tareq
Copyright © Symisc Systems