Mdecrby
Bun

method

RedisClient.decrby

key: KeyLike,
decrement: number
): Promise<number>;

Decrement the integer value of a key by the given amount

@param key

The key to decrement

@param decrement

The amount to decrement by

@returns

Promise that resolves with the new value after decrementing

Referenced types

type KeyLike = string | ArrayBufferView | Blob