Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Set/Lists

Command

LPUSHX key value [valuen,...]


Description


Inserts value at the head of the list stored at key, only if key already exists and holds a list. In contrary to LPUSH, no operation will be performed when key does not yet exist.


Return value


Value: The length of the list after the push operations.


Example


Refer to the download page for some C/C++ samples on how to invoke this command from your host application.





Symisc Systems
Copyright © Symisc Systems