Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Key/Value.

Command

MSETNX key value [key value]


Description


Sets the given keys to their respective values. MSETNX replaces existing values with new values only if the key does not exits, just as regular SETNX. 


Return value


Boolean: True on success. False otherwise.


Example


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



vedis> SET message "Greeting!"
(true)

vedis> MSETNX test "Hello" message "Bye Bye"
(true)
vedis> MGET test message
(1) Hello
(2) Greeting!




Symisc Systems
Copyright © Symisc Systems