sparrow icon indicating copy to clipboard operation
sparrow copied to clipboard

Group by isn't working

Open fadrian06 opened this issue 1 year ago • 0 comments

In groupBy method, line 365 you're asking if order property is empty. But it should be groups property, right?

When I execute method groupBy

$sparrow = new Sparrow;
$sparrow->groupBy('id');
print_r($sparrow);

Should be

    [protected::groups] => GROUP BY id

But I get

    [protected::groups] => , id

fadrian06 avatar Jun 10 '23 04:06 fadrian06