You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behavior is changed in PR #53209. I've built queries in my application which I need further on. But now the behavior changed for aggregate-functions like: min(...), max(...).
When having joins and aggregations with custom selects from joined tables I've seen other issues producing invalid SQL queries due to the subquery existing and columns not existing outside the subquery. But I cannot make an isolated testset and the query is too big.
Steps To Reproduce
in 11.32.0:
Model::groupBy('field')->min('column');
returns int.
in 11.33.0:
Model::groupBy('field')->min('column');
returns collection.
The text was updated successfully, but these errors were encountered:
Laravel Version
11.33.0
PHP Version
8.3.14
Database Driver & Version
MariaDB
Description
The behavior is changed in PR #53209. I've built queries in my application which I need further on. But now the behavior changed for aggregate-functions like:
min(...)
,max(...)
.When having joins and aggregations with custom selects from joined tables I've seen other issues producing invalid SQL queries due to the subquery existing and columns not existing outside the subquery. But I cannot make an isolated testset and the query is too big.
Steps To Reproduce
in 11.32.0:
returns int.
in 11.33.0:
returns collection.
The text was updated successfully, but these errors were encountered: