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

Allow grouping in querying #33

Merged
merged 11 commits into from
Mar 19, 2014
Merged

Allow grouping in querying #33

merged 11 commits into from
Mar 19, 2014

Conversation

Fiveside
Copy link
Member

This overhauls the querying module to allow for grouping and fixes bugs where some OR querys were being treated as AND queries. Note that this changes the structure of the Query object itself. Instead of being an iterable containing many QuerySegments on an equal level, it is now a tree style structure that includes BinaryQuerySegments to link queries together. This could actually use a bit more work in the code organization and cleanup department, but all the features are implemented!

a=b&(b=c;c=d)&!(e=f;g=h) works! 🎉

@joneshf
Copy link
Member

joneshf commented Mar 18, 2014

@mehcode ping

mehcode added a commit that referenced this pull request Mar 19, 2014
Allow grouping in querying
@mehcode mehcode merged commit b929646 into master Mar 19, 2014
@Fiveside Fiveside deleted the querying branch March 19, 2014 20:00
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

Successfully merging this pull request may close these issues.

None yet

3 participants