An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - Hash.
Command
HMGET key field [field2,...]
Description
Returns
the values associated with the specified fields in the hash stored at
key. For every field that does not exist in the hash, a nil value is
returned.
Because a non-existing keys are treated as empty hashes, running HMGET
against a non-existing key will return a list of nil values.
Return value
Array: array of values associated with the given fields, in the same order as they are requested.
Example
Refer to the download page for some C/C++ samples on how to invoke this command from your host application.
vedis> HMSET config path "/usr/local/etc" pid 1024
2
vedis> HMGET config path pid
1) /usr/local/etc
2) 1024
2
vedis> HMGET config path pid
1) /usr/local/etc
2) 1024
Copyright © Symisc Systems