© 2026 Hedgehog Software, LLC
const post = await db.query.posts.findFirst({ with: { comments: true, }, });
post
interface PostWithComments extends Post { comments: Comment[]; }