© 2026 Hedgehog Software, LLC
await db.query.posts.findMany({ orderBy: [asc(posts.id)], where: <-- some logic that depends on knowing the post id --> });
where