await redis.hset("key", { field: 20, }); const after = await redis.hincrby("key", "field", 2.5); console.log(after); // 22.5
Increments the value of a hash field by a given float value.
Was this page helpful?