filhodanuvem / gitql

💊 A git query language
MIT License
6.27k stars 164 forks source link

Is count supported? #149

Open xuegl opened 2 years ago

xuegl commented 2 years ago

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 commented 2 years ago

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

For example:

gitql "select count(*) from commits where date > '2022-04-01'"
xuegl commented 2 years ago

@filhodanuvem Are there any plan to support this feature?

filhodanuvem commented 2 years ago

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 commented 1 year ago

@filhodanuvem I'd like to contribute to this project