topic-stat-query-fix
All checks were successful
Deploy on push / deploy (push) Successful in 1m19s

This commit is contained in:
2024-02-23 21:22:55 +03:00
parent a05072fd71
commit f04e20426f
2 changed files with 4 additions and 5 deletions

View File

@@ -191,7 +191,7 @@ def author_follows_topics(author_id: int):
subquery_topic_followers = (
select(
[
TopicFollower.topic,
TopicFollower.topic_id,
func.count(distinct(TopicFollower.follower)).label('followers_stat'),
]
)