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

Added group_by function. #5

Closed
wants to merge 1 commit into from
Closed

Added group_by function. #5

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 28, 2011

I was missing a GROUP BY, so I've added it.
Hope you'll pull it in ;)

@@ -621,7 +625,17 @@ joli.query.prototype = {

this.data.where += expression + ' IN ' + value;
return this;
},

group_by: function(group) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to write a groupBy() method instead of the underscored group_by(). Apart of it, the patch is perfect, thanks a lot !

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I am doing too much ruby these days ;) will fix it and do another pull request!

@ghost ghost closed this Apr 28, 2011
@ghost
Copy link
Author

ghost commented Apr 28, 2011

didn't know how to edit the existing branch on github, solved it by opening another ;)

This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

1 participant