Symisc Vedis

An Embeddable Datastore Engine

Vedis Built-in Commands - Key/Value.


MGET key [key1, key2, ...]


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.


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

vedis> SET test "Hello"
vedis> SET message "Greeting!"

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

Symisc Systems
Copyright © Symisc Systems