File tree Expand file tree Collapse file tree 4 files changed +66607
-0
lines changed Expand file tree Collapse file tree 4 files changed +66607
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Malicious
2
+ ``` sql
3
+ SELECT
4
+ name,
5
+ type,
6
+ CASE
7
+ WHEN description = ' security holding package' THEN NULL
8
+ ELSE description
9
+ END as description
10
+ FROM package
11
+ INNER JOIN malicious_packages mp ON mp .package_id = package .id
12
+ ORDER BY type, name;
13
+ ```
14
+
15
+ # Deprecated
16
+ ``` sql
17
+ SELECT
18
+ name,
19
+ type,
20
+ CASE
21
+ WHEN description = ' security holding package' THEN NULL
22
+ ELSE description
23
+ END as description
24
+ FROM package WHERE is_deprecated
25
+ ORDER BY type, name;
26
+ ```
27
+
28
+ # Archived
29
+ ``` sql
30
+ SELECT
31
+ package .name ,
32
+ type,
33
+ CASE
34
+ WHEN package .description = ' security holding package' THEN NULL
35
+ ELSE package .description
36
+ END as description
37
+ FROM package INNER JOIN repository ON package .repository_id = repository .id AND repository .archived = TRUE
38
+ ORDER BY type, name;
39
+ ```
You can’t perform that action at this time.
0 commit comments