Skip to content

Conditions for numeric comparisons (counters) #2962

@kmcclellan

Description

@kmcclellan

Looking at the supported kinds of Condition for use with transactions, I was surprised there is not a way to compare two Redis values numerically (greater than, less than, etc.). The Redis "string" type is often used to represent numeric counters (as indicated by the INCR/DECR commands).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions