This commit is contained in:
parent
f5b3cd8f97
commit
6f11652320
|
@ -103,7 +103,7 @@ def author_follows_authors(author_id: int):
|
||||||
af = aliased(AuthorFollower, name='af')
|
af = aliased(AuthorFollower, name='af')
|
||||||
q = (
|
q = (
|
||||||
select(Author)
|
select(Author)
|
||||||
.select_from(join(Author, af, Author.id == int(af.author)))
|
.select_from(join(Author, af, Author.id == af.author))
|
||||||
.where(af.follower == author_id)
|
.where(af.follower == author_id)
|
||||||
)
|
)
|
||||||
q = add_author_stat_columns(q)
|
q = add_author_stat_columns(q)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user