mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1619 - Support aggregation formula on fetch clause e.g. query.fetch("machineUsage", "sum(totalKms)")
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user