Closed
Description
sorry, my mistake. solved
My Laravel version info:
Laravel Framework version 5.1.40 (LTS)
See this issue
#4306
In my test,it's still has problem.
dd(Member::groupBy('id')->count());
I only get result 1.
but in this method
dd(Member::count());
I get right num(more than 1)
(the id is primary key, so i should get same result).
And both has problem use sum method after groupBy method,it seems only get the first query result.
dd(Member::groupBy('id')->sum('xxxx'));
IS ANYONE HAS THIS PROBLEM?
Metadata
Metadata
Assignees
Labels
No labels