Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Hash.

Command

HGETALL key


Description


Returns all fields and values of the hash stored at key. In the returned value, every field name is followed by its value, so the length of the reply is twice  the size of the hash.


Return value


Array: array of fields and values in the hash, or null on failure.


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> HGETALL config
1)path
2)
/usr/local/etc
3)pid
4)1024




Symisc Systems
Copyright © Symisc Systems