An Embeddable Datastore Engine |
Tweet |
Follow @Vedis |
Vedis Built-in Commands - Hash.
Command
HDEL key field [field2,...]
Description
Removes the specified fields from the hash stored at key. Specified fields that do not exist within this hash are ignored. If key does not exist, it is treated as an empty hash and this command returns 0.
Return value
Integer: Total number of fields removed.
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> HDEL config pid
1
vedis> HGET config pid
null
2
vedis> HDEL config pid
1
vedis> HGET config pid
null
Copyright © Symisc Systems