join-cond
This commit is contained in:
parent
a6df648af1
commit
e2271e38e1
|
@ -135,7 +135,7 @@ async def load_shouts_by(_, info, options):
|
|||
q = (
|
||||
select(Shout, Author)
|
||||
.options(
|
||||
joinedload(Shout.authors),
|
||||
joinedload(Shout.authors, Shout.authors.contains(Author.id)),
|
||||
joinedload(Shout.topics),
|
||||
)
|
||||
.select_from(Shout)
|
||||
|
|
Loading…
Reference in New Issue
Block a user