mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#921 - Refactor internals - Change internal use of "findRowCount" to "findCount"
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user