move comparison operators up to AbstractQueryField #50

Merged
merged 1 commit into from Mar 12, 2012

Conversation

Projects
None yet
2 participants
Contributor

nsanch commented Mar 12, 2012

The documentation on comparison operators at
http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-%3C%2C%3C%3D%2C%3E%2C%3E%3D
doesn't list any restrictions on what types can be compared. For any
type that can be indexed, mongo must be able to do comparisons on that
type, and so these comparators should work.

Neil Sanchala move comparison operators up to AbstractQueryField
The documentation on comparison operators at
http://www.mongodb.org/display/DOCS/Advanced+Queries#AdvancedQueries-%3C%2C%3C%3D%2C%3E%2C%3E%3D
doesn't list any restrictions on what types can be compared. For any
type that can be indexed, mongo must be able to do comparisons on that
type, and so these comparators should work.
e1313e0

@jliszka jliszka added a commit that referenced this pull request Mar 12, 2012

@jliszka jliszka Merge pull request #50 from nsanch/master
move comparison operators up to AbstractQueryField
76e9a4c

@jliszka jliszka merged commit 76e9a4c into foursquare:master Mar 12, 2012

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