Mincr
Bun

method

RedisClient.incr

key: KeyLike
): Promise<number>;

Increment the integer value of a key by one

@param key

The key to increment

@returns

Promise that resolves with the new value

Referenced types

type KeyLike = string | ArrayBufferView | Blob