Skip to content

Commit 514115e

Browse files
authored
Fix documentation example. (#970)
Fix documentation example.
2 parents 6f01113 + 48eb21b commit 514115e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/using-gitbase/examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ GROUP BY committer_email,
7878
SELECT
7979
LANGUAGE(file_path, blob_content) as lang,
8080
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,
81+
SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Comment')) as comments,
82+
SUM(JSON_EXTRACT(LOC(file_path, blob_content), '$.Blank')) as blanks,
8383
COUNT(1) as files
8484
FROM refs
8585
NATURAL JOIN commit_files

0 commit comments

Comments
 (0)