We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee92049 + a24fca4 commit 4db3720Copy full SHA for 4db3720
1 file changed
frontend/src/App.js
@@ -142,21 +142,6 @@ FROM ( SELECT MONTH(committer_when) as month,
142
ON YEAR(c.committer_when) = 2018 AND r.commit_hash = c.commit_hash
143
WHERE r.ref_name = 'HEAD'
144
) as t GROUP BY committer_email, committer_name, month, repository_id`
145
- },
146
- {
147
- name: 'Number of functions per file for Go',
148
- sql: ` /* Number of funtions per file for Golang at HEAD */
149
-SELECT files.repository_id, files.file_path,
150
- ARRAY_LENGTH(UAST(
151
- files.blob_content,
152
- LANGUAGE(files.file_path, files.blob_content),
153
- '//*[@roleFunction and @roleDeclaration]'
154
- )) as functions
155
-FROM files
156
-NATURAL JOIN refs
157
-WHERE
158
-LANGUAGE(files.file_path,files.blob_content) = 'Go'
159
-AND refs.ref_name = 'HEAD'`
160
}
161
];
162
0 commit comments