Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Key/Value.

Command

SET key value


Description


Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with the key is   discarded on successful SET operation.


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 test "Hello"
(true)
vedis> SET message "Greeting!"
(true)

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




Symisc Systems
Copyright © Symisc Systems