We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57396e2 commit f4719faCopy full SHA for f4719fa
tests/benchmarks/test_relationship_loading.py
@@ -59,7 +59,7 @@ class Query:
59
@strawberry.field
60
@staticmethod
61
async def parents(info: Info) -> List[StrawberryParent]:
62
- return info.context["session"].query(Parent).all()
+ return info.context["session"].scalars(sa.select(Parent)).all()
63
64
mapper.finalize()
65
base.metadata.create_all(engine)
0 commit comments