Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoubfaouzi committed Jan 20, 2025
1 parent cb4e94f commit 781386c
Show file tree
Hide file tree
Showing 8 changed files with 976 additions and 63 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"mpfd",
"necsfield",
"Presign",
"Recaptcha",
"Robohash",
"Taymiyyah",
"templater",
Expand Down
1 change: 1 addition & 0 deletions db/ano-user-activities.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WITH
activity.type = 'activity'
AND activity.src = "web"
AND activity.kind != "comment"
AND activity.kind != 'follow'
ORDER BY
activity.timestamp DESC
OFFSET
Expand Down
4 changes: 2 additions & 2 deletions db/count-ano-user-activities.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SELECT
RAW COUNT(*)
FROM
`bucket_name` s
`bucket_name` activity
WHERE
s.type = "activity"
activity.type = "activity"
AND activity.src = "web"
AND activity.kind != "comment"
1 change: 1 addition & 0 deletions db/user-activities.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ WITH
activity.`type` = 'activity'
AND activity.src = 'web'
AND activity.kind != 'comment'
AND activity.kind != 'follow'
)
SELECT
{
Expand Down
Loading

0 comments on commit 781386c

Please sign in to comment.