Skip to content

Commit 9750721

Browse files
committed
update readme
1 parent 44d48d7 commit 9750721

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ echo $invoices[0]->items_price_sum;
3434

3535
$invoices = Invoice::withMin('items:price,price2')->get();
3636
echo $invoices[0]->items_price_min;
37+
38+
$invoices = Invoice::withMax('items:price,price2')->get();
39+
echo $invoices[0]->items_price_max;
3740
```
3841
The following methods apply to all methods.!!!
3942

0 commit comments

Comments
 (0)