Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FactoryExpression usage in other parts than select #678
A Query like the one below:
will throw an MySQL error because it generated a query like this:
MySQL does not like the parentheses in the group by. It should instead generate like this:
Obviously I can re-write my query to look like:
However, it would be preferable to be able to re-use my select clause in my group by so that I don't have to re-write the 2 clauses and possibly have them differ should I need to change the select requirements.