#921 - Refactor internals - Change internal use of "findRowCount" to "findCount"

This commit is contained in:
Rob Bygrave
2016-12-13 19:51:11 +13:00
parent f429811f79
commit cf37fda3f4
17 changed files with 36 additions and 41 deletions
@@ -66,11 +66,11 @@ public abstract class AbstractExpression implements SpiExpression {
ElPropertyDeploy elProp = desc.getElPropertyDeploy(propertyName);
if (elProp != null) {
if (elProp.containsFormulaWithJoin()) {
// for findRowCount query select clause
// for findCount query select clause
manyWhereJoin.addFormulaWithJoin(propertyName);
}
if (elProp.containsMany()) {
// for findRowCount we join to a many property
// for findCount we join to a many property
manyWhereJoin.add(elProp);
if (elProp.isAggregation()) {
manyWhereJoin.setAggregation();