#789 - findCount() ... with where raw(...) expression that includes a "many" produces incorrect SQL

This commit is contained in:
Robin Bygrave committed 2016-07-31 14:57:12 +12:00
1 parent 780ee7c7c0
commit 56fee2ea9b
9 files changed
+98 -30

No files matched your search

@@ -153,4 +153,10 @@ public class SqlTree {
return encryptedProps;
}
/**
* Return true if the query has a many join.
*/
public boolean hasMany() {
return manyProperty != null || rootNode.hasMany();
}
}