HINCRBYFLOAT
Syntax
HINCRBYFLOAT key field increment
Module
hashCategories
fast hash writeDescription
Increment the hash value by the float increment.
Examples
- Go (Embedded)
- CLI
Increment the hash value by the float increment:
vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
newValue, err := vault.HIncrByFloat("key", "field", 7.75)
Increment the hash value by the float increment:
> HINCRBYFLOAT key field 7.75