Symisc Vedis

An Embeddable Datastore Engine



Vedis Built-in Commands - Hash.

Command

HSET key field value


Description


Sets field in the hash stored at key to value. If key does not exist, a new key holding a hash is created. If field already exists in the hash, it is overwritten.


Return value


boolean: TRUE 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> HSET config path "/usr/local/etc"
true
vedis> HSET config pid 1024
true




Symisc Systems
Copyright © Symisc Systems