Symisc Vedis

An Embeddable Datastore Engine

Vedis Built-in Commands - Hash.


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


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.


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
vedis> HLEN config

Symisc Systems
Copyright © Symisc Systems