Mzremrangebyscore
Bun

method

RedisClient.zremrangebyscore

key: KeyLike,
min: string | number,
max: string | number
): Promise<number>;

Remove all members in a sorted set within the given score range

@param key

The sorted set key

@param min

Minimum score (inclusive, use "-inf" for negative infinity, "(" prefix for exclusive)

@param max

Maximum score (inclusive, use "+inf" for positive infinity, "(" prefix for exclusive)

@returns

Promise that resolves with the number of elements removed

Referenced types

type KeyLike = string | ArrayBufferView | Blob