Arguments
string
required
The key to decrement.
float
required
The amount to increment by.
Response
The value at the key after the incrementing.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
await redis.set("key", 6);
await redis.incrbyfloat("key", 4,5);
// returns 10.5
Increment the float value of a key by a given number.
await redis.set("key", 6);
await redis.incrbyfloat("key", 4,5);
// returns 10.5
Was this page helpful?