filhodanuvem / gitql

💊 A git query language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is count supported?

xuegl opened this issue · comments

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?

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

For example:

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

@filhodanuvem Are there any plan to support this feature?

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.

@filhodanuvem I'd like to contribute to this project