redis.hset("myhash", "field1", 5) assert redis.hincrby("myhash", "field1", 10) == 15
Increments the value of a hash field by a given amount
Was this page helpful?