An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - Set/Lists
Command
SPEEK key
Description
Returns the last record from the set value stored at key
Return value
Value: The last 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> SPEEK users
tareq
3
vedis> SPEEK users
tareq
Copyright © Symisc Systems