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

Is count supported? #149

Open
xuegl opened this issue Apr 22, 2022 · 4 comments
Open

Is count supported? #149

xuegl opened this issue Apr 22, 2022 · 4 comments

Comments

@xuegl
Copy link

xuegl commented Apr 22, 2022

i tried to use count in SQL but got an error:

gitql> select author, count(author) as count from commits group by author
Error: Expected T_ID and found T_COUNT

So is count is not supported yet?

@filhodanuvem
Copy link
Owner

filhodanuvem commented Apr 22, 2022

Hello @xuegl . count is supported but group by is not yet.

For example:

gitql "select count(*) from commits where date > '2022-04-01'"

@xuegl
Copy link
Author

xuegl commented Apr 24, 2022

@filhodanuvem Are there any plan to support this feature?

@filhodanuvem
Copy link
Owner

Not in the near future, but we are always open to contributions.
If you want to drive this I will be happy to support you.

@KenyStev
Copy link

KenyStev commented Oct 7, 2022

@filhodanuvem I'd like to contribute to this project

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

3 participants