Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Hash.

Command

HMSET key field value [field1 value1,...]


Description


Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.


Return value


Integer: Total number of inserted fields 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> HMSET config path "/usr/local/etc" pid 1024
2
vedis> HLEN config
2




Symisc Systems
Copyright © Symisc Systems