Skip to content

Commit 4db3720

Browse files
authored
Merge pull request #259 from carlosms/rm-array-example
Remove example with ARRAY_LENGTH
2 parents ee92049 + a24fca4 commit 4db3720

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

frontend/src/App.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,6 @@ FROM ( SELECT MONTH(committer_when) as month,
142142
ON YEAR(c.committer_when) = 2018 AND r.commit_hash = c.commit_hash
143143
WHERE r.ref_name = 'HEAD'
144144
) 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'`
160145
}
161146
];
162147
}

0 commit comments

Comments
 (0)