-
Notifications
You must be signed in to change notification settings - Fork 1
Max
Maxim Stupakov edited this page May 29, 2018
·
1 revision
Finds the largest value of a column.
$sloth = Sloth::from($data)
->group('foo', 'baz')
->max();
$sloth->print();
foo baz one 3 two 7
print_r($sloth->fetch());
Array ( [0] => Array ( [foo] => one [baz] => 3 ) [1] => Array ( [foo] => two [baz] => 7 ) )