# events[].sql_query.sql
SELECT COUNT(*) FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND (topics.archetype <> 'private_message')

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND (topics.archetype <> $1)

# events[].sql_query.sql
SELECT COUNT(*) FROM "posts" WHERE ("posts"."deleted_at" IS NULL)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "posts" WHERE ("posts"."deleted_at" IS NULL)

# events[].sql_query.sql
SELECT COUNT(*) FROM "users" WHERE (users.id > 0) AND (NOT EXISTS(
                     SELECT 1
                     FROM anonymous_users a
                     WHERE a.user_id = users.id
                  ))

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "users" WHERE (users.id > $1) AND (NOT EXISTS(
                     SELECT $2
                     FROM anonymous_users a
                     WHERE a.user_id = users.id
                  ))

# events[].sql_query.sql
SELECT COUNT(*) FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND (topics.archetype <> 'private_message') AND (created_at > '2020-09-10 21:13:45.125347')

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND (topics.archetype <> $1) AND (created_at > $2)

# events[].sql_query.sql
SELECT COUNT(*) FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND (topics.archetype <> 'private_message') AND (created_at > '2020-08-18 21:13:45.129410')

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "topics" WHERE ("topics"."deleted_at" IS NULL) AND (topics.archetype <> $1) AND (created_at > $2)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "posts" WHERE ("posts"."deleted_at" IS NULL) AND (created_at > $1)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "posts" WHERE ("posts"."deleted_at" IS NULL) AND (created_at > $1)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "users" WHERE (created_at > $1)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "users" WHERE (created_at > $1)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "users" WHERE (last_seen_at > $1)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "users" WHERE (last_seen_at > $1)

# events[].sql_query.sql
SELECT COUNT(*) FROM "user_actions" WHERE "user_actions"."action_type" = 1

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "user_actions" WHERE "user_actions"."action_type" = $1

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "user_actions" WHERE "user_actions"."action_type" = $1 AND (created_at > $2)

# events[].sql_query.normalized_sql
SELECT COUNT(*) FROM "user_actions" WHERE "user_actions"."action_type" = $1 AND (created_at > $2)

# events[].sql_query.sql
SELECT "users".* FROM "users" WHERE "users"."moderator" = TRUE AND "users"."admin" = FALSE AND (users.id > 0) ORDER BY last_seen_at DESC

# events[].sql_query.normalized_sql
SELECT "users".* FROM "users" WHERE "users"."moderator" = $1 AND "users"."admin" = $2 AND (users.id > $3) ORDER BY last_seen_at DESC

# events[].sql_query.sql
SELECT "users".* FROM "users" WHERE "users"."admin" = TRUE AND (users.id > 0) ORDER BY last_seen_at DESC

# events[].sql_query.normalized_sql
SELECT "users".* FROM "users" WHERE "users"."admin" = $1 AND (users.id > $2) ORDER BY last_seen_at DESC

# events[].sql_query.normalized_sql
SELECT "categories"."id" FROM "categories" WHERE "categories"."read_restricted" = $1

# metadata.name
AboutController .index serializes stats when 'Guardian#can_see_about_stats?' is true