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