Skip to content

Conditions for numeric comparisons (counters) #2962

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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