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

Support Group By #11

Open
3 tasks
worldspawn opened this issue Feb 13, 2016 · 1 comment
Open
3 tasks

Support Group By #11

worldspawn opened this issue Feb 13, 2016 · 1 comment

Comments

@worldspawn
Copy link
Owner

  • Apply to expression parser
  • Apply to query api
  • Apply to language processors
@worldspawn
Copy link
Owner Author

I think the querytable can be extended to support this. Eg:

queryTable.GroupBy(() => someTable.Foo, () => queryTable.Bar);
QueryTable<TEntity> GroupBy(params Expression<Func<object>>[] groupByExpressions)

Using group by should automatically make a query table a subquery. It might also make sense to provide a similar method on Projection or make it part of the projection creation process where currently you pass a series of columns to map but you can also optionally provide a set of group by expressions to apply to the underlying query.

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

1 participant