镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Implement Comparison Operators #7

Open

Description

@mboudreau

In current version 0.1.2, only these following operators have been implemented: LT,LE,GT,GE and BETWEEN

The rest needs to be added.

Activity

  1. ghost assigned on Apr 6, 2012
  2. rrutt commented on Jan 31, 2013

    @rrutt
    Contributor

    The .scan method also supports IN.
    The .query method also supports IN, BEGINS_WITH, and CONTAINS via the method ItemRangeGroup.filterItemsByRangeKeyCondition as of Pull Request 50

    #50

  3. rrutt commented on May 22, 2013

    @rrutt
    Contributor

    As part of Pull Request 66 I added support for the BETWEEN, BEGINS_WITH, and CONTAINS to the scan filter, and corrected the GE scan filter's comparison direction.

    #66

    Note that comparisons for numeric attributes are still treated as string values, so that 2 GT 10 because "2" > "10" when using a string comparison. Similarly 123 CONTAINS 2 because "123".contains("2")

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions