Skip to content

Commit 607f8a2

Browse files
authored
refactor: exclude more tags from top reader (#2792)
1 parent 879aebe commit 607f8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries/calculateTopReaders.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ views AS (
99
INNER JOIN "public"."post_keyword" "pk" ON "v"."postId" = "pk"."postId"
1010
WHERE
1111
"pk"."status" = 'allow'
12-
AND "pk"."keyword" NOT IN ('dailydev')
12+
AND "pk"."keyword" NOT IN ('dailydev', 'tiktok', 'legal', 'social-media', 'discord', 'interview', 'google', 'apple', 'iphone')
1313
AND "v"."timestamp" >= (date_trunc('month', CURRENT_DATE) - INTERVAL '1 month')
1414
-- Example 2024-10-01 00:00:00+00
1515
AND "v"."timestamp" < (date_trunc('month', CURRENT_DATE))

0 commit comments

Comments
 (0)