Skip to content

Commit 9ae39a4

Browse files
committed
Fix documentation example.
Signed-off-by: Antonio Navarro Perez <[email protected]>
1 parent 754ede2 commit 9ae39a4

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)