Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Key/Value.

Command

MGET key [key1, key2, ...]


Description


Returns the values of all specified keys. For every key that does not hold a string value or does not exist, the special value null is returned. Because of this, the operation never fails.


Return value


Array: Multiple values.


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 no_such_key
(1) Hello
(2) Greeting!
(3) null





Symisc Systems
Copyright © Symisc Systems