#1619 - Support aggregation formula on fetch clause e.g. query.fetch("machineUsage", "sum(totalKms)")

This commit is contained in:
rob bygrave
2019-01-23 16:45:47 +13:00
15 changed files with 572 additions and 35 deletions
@@ -92,6 +92,13 @@ public class SqlTreeProperties {
return aggregation;
}
/**
* Check for aggregation (need for groug by clause).
*/
public void checkAggregation() {
aggregationJoin();
}
/**
* Return the property to join for aggregation.
*/