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

More complex query using intersections and unions #4

Open
ksnabb opened this issue Aug 29, 2011 · 0 comments
Open

More complex query using intersections and unions #4

ksnabb opened this issue Aug 29, 2011 · 0 comments

Comments

@ksnabb
Copy link
Member

ksnabb commented Aug 29, 2011

Build a query engine using json and GET method to be used against mongodb
The query will be a json array representing the sub queries that need to be unified and inside every query the parameters will be used for the interesect

EG: http://......?query=[ { prop1 = 3 , prop2 = 4 }, { other_prop__in: [ 2, 3, 4, 5 ], other_prop2__lt:4 }, { feat_gt: 5 } ]

This should return all the object that have the prop1 = 3 AND prop2 = 4 OR other_prop is included in the defined array AND other_prop2 < 4 OR feat > 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant