kevy4.0

ZRANGEBYSCORE

Return members with scores within the given bounds.

ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
Group
Sorted set
Since
1.0.0
Arity
at least 4
Flags
readonly

Complexity

O(N + M) — a full scan and filter; LIMIT is applied after the whole match set is materialised, so it does not reduce the work

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

BZPOPMINZADDZCARDZCOUNTZDIFFSTOREZINCRBYZINTERCARDZINTERSTOREZPOPMINZPOPMIN.BELOWZRANGEZRANKZREMZREMRANGEBYRANKZREMRANGEBYSCOREZREVRANGEBYSCOREZSCANZSCOREZUNIONSTORE

← All commands