This commit is contained in:
parent
4a330c3678
commit
4b4b0a0f80
1 changed files with 5 additions and 3 deletions
|
@ -17,6 +17,8 @@
|
|||
[db]
|
||||
(.all (await
|
||||
(.scalars db
|
||||
(.where (select models.OutboxObject)
|
||||
(.in_ models.OutboxObject.visibility [VisibilityEnum.PUBLIC VisibilityEnum.UNLISTED])
|
||||
(.is_ models.OutboxObject.is_deleted False))))))
|
||||
(.order_by
|
||||
(.where (select models.OutboxObject)
|
||||
(.in_ models.OutboxObject.visibility [VisibilityEnum.PUBLIC VisibilityEnum.UNLISTED])
|
||||
(.is_ models.OutboxObject.is_deleted False))
|
||||
(.desc models.OutboxObject.created_at))))))
|
||||
|
|
Loading…
Reference in a new issue