Skip to main content

HINCRBY

Syntax

HINCRBY key field increment

Module

hash

Categories

fast hash write

Description

Increment the hash value by the integer increment.

Examples

Increment the hash value by the integer increment:

vault, err := echovault.NewEchoVault()
if err != nil {
log.Fatal(err)
}
newValue, err := vault.HIncrBy("key", "field", 7)