Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group by isn't working #36

Open
fadrian06 opened this issue Jun 10, 2023 · 0 comments
Open

Group by isn't working #36

fadrian06 opened this issue Jun 10, 2023 · 0 comments

Comments

@fadrian06
Copy link
Contributor

fadrian06 commented Jun 10, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant