wip queries

This commit is contained in:
2022-08-05 16:14:02 +03:00
parent bcd912ed2e
commit 1d66ae562d
2 changed files with 19 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ class ShoutAuthorStorage:
@staticmethod
async def load(session):
self = ShoutAuthorStorage
authors = session.query(ShoutAuthor)
authors = session.query(ShoutAuthor).all()
for author in authors:
user = author.user
shout = author.shout