We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 754ede2 commit 9ae39a4Copy full SHA for 9ae39a4
1 file changed
docs/using-gitbase/examples.md
@@ -78,8 +78,8 @@ GROUP BY committer_email,
78
SELECT
79
LANGUAGE(file_path, blob_content) as lang,
80
SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Code')) as code,
81
- SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Comments')) as comments,
82
- SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Blanks')) as blanks,
+ SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Comment')) as comments,
+ SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Blank')) as blanks,
83
COUNT(1) as files
84
FROM refs
85
NATURAL JOIN commit_files
0 commit comments