nested relation

how can I query a model with 2 'with'? So query student with books, with pages, for example.
3 Replies
👑 Airzona
👑 Airzona•10mo ago
Exactly what I want to know!
Mykhailo
Mykhailo•10mo ago
@👑 Airzona @shikishikichangchang yes, you can, you can follow the example in docs: https://orm.drizzle.team/docs/rqb#include-relations There is example users-with-posts-with-comments
Drizzle ORM - Query
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
👑 Airzona
👑 Airzona•10mo ago
Got, thanks @solo !
Want results from more Discord servers?
Add your server