Commit d50a4b4b authored by Jens Segers's avatar Jens Segers

Bad readme

parent d622b2cd
...@@ -95,9 +95,9 @@ Examples ...@@ -95,9 +95,9 @@ Examples
**Aggregation** **Aggregation**
$price = DB::table('orders')->max('price'); $price = Order::max('price');
$price = DB::table('orders')->min('price'); $price = Order::min('price');
$price = DB::table('orders')->avg('price'); $price = Order::avg('price');
$total = DB::table('users')->sum('votes'); $total = User::sum('votes');
All basic insert, update, delete and select methods should be implemented. Feel free to fork and help completing this library! All basic insert, update, delete and select methods should be implemented. Feel free to fork and help completing this library!
\ No newline at end of file
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