diff --git a/src/nextline_rdb/schema/query.py b/src/nextline_rdb/schema/query.py index 4134ad4..5f3a848 100644 --- a/src/nextline_rdb/schema/query.py +++ b/src/nextline_rdb/schema/query.py @@ -18,7 +18,7 @@ async def query_run( ) -> types.RunHistory | None: db = cast(DB, info.context['db']) async with db.session() as session: - stmt = select(Run).options(selectinload(Run.script)) + stmt = select(Run).options(selectinload('*')) if id is not None: stmt = stmt.filter(Run.id == id) else: