Generate relational select types
In prisma, you can do something like
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?0 Replies