Please sign in to comment.
Fix count errors in ORM.
Fix the various count() errors in the ORM package. I had to rework how join conditions were generated as count() on a generic ExpressionInterface object fails in PHP7.2. Instead we can convert expressions into strings and then generate the appropriate SQL. I also found the link between count() and having a sql() method was pretty loose, where as the new checks are more correct.
- Loading branch information...
Showing with 11 additions and 5 deletions.