This commit is contained in:
Aevann1 2021-09-19 20:31:31 +02:00
parent 8c9ce1463b
commit 5666efcbec
2 changed files with 7 additions and 0 deletions

View file

@ -47,6 +47,7 @@ class OauthApp(Base):
return [x[0] for x in posts.all()]
def comments_idlist(self, page=1, **kwargs):
posts = g.db.query(Comment.id).options(lazyload('*')).options(lazyload('*')).filter_by(app_id=self.id)