Symisc Vedis

An Embeddable Datastore Engine

Vedis Built-in Commands - Key/Value.


MSETNX key value [key value]


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.


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

vedis> SET message "Greeting!"

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

Symisc Systems
Copyright © Symisc Systems