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