ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
โข
2y ago
โข
1 reply
Jakesdoc
Generate relational select types
In prisma
, you can do something like
Prisma.GetUserPayload<{include: {posts: true}}>
Prisma.GetUserPayload<{include: {posts: true}}>
and that will give you the type of the user and include the posts
. Is there something like this in drizzle
?
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
types from nested relational queries
DT
Drizzle Team / help
3y ago
Typescript types for relational queries with neon db
DT
Drizzle Team / help
3y ago
Help with types relational query function
DT
Drizzle Team / help
3y ago
Relational queries result types are not working
DT
Drizzle Team / help
3y ago