一切福田,不離方寸,從心而覓,感無不通。

laravel5.0 groupBy中count的写法

from:https://stackoverflow.com/questions/18533080/laravel-eloquent-groupby-and-also-return-count-of-each-group