Skip to content

Commit ecb97de

Browse files
committed
Note on aggregations from issue mongodb#44
1 parent 38b88ef commit ecb97de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ Selected columns that are not grouped will be aggregated with the $last function
185185

186186
**Aggregation**
187187

188+
*Aggregations are only available for MongoDB versions greater than 2.2.*
189+
188190
$total = Order::count();
189191
$price = Order::max('price');
190192
$price = Order::min('price');

0 commit comments

Comments
 (0)