Commit dddf711f authored by Jens Segers's avatar Jens Segers

Merge branch 'master' of github.com:segersjens/Laravel-MongoDB

parents a6714df2 e5915c56
......@@ -185,6 +185,8 @@ Selected columns that are not grouped will be aggregated with the $last function
**Aggregation**
*Aggregations are only available for MongoDB versions greater than 2.2.*
$total = Order::count();
$price = Order::max('price');
$price = Order::min('price');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment