Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Comparison Operators #7

Open
mboudreau opened this issue Apr 6, 2012 · 2 comments
Open

Implement Comparison Operators #7

mboudreau opened this issue Apr 6, 2012 · 2 comments
Assignees

Comments

@mboudreau
Copy link
Owner

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.

@ghost ghost assigned tnbred Apr 6, 2012
@rrutt
Copy link
Contributor

rrutt commented Jan 31, 2013

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

@rrutt
Copy link
Contributor

rrutt commented May 22, 2013

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
Projects
None yet
Development

No branches or pull requests

3 participants