© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago
brynthrax

Typed “with” relations config on relational query builder

How can I properly get the proper relation type (with) of a specific table/entity? For example, I would like to achieve the following with proper typings:

const patientRelations = {
relation1: true,
relation2: {
columns: {
col1: true,
col2: true
}
}
}
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

advanced relational query builder
Drizzle TeamDTDrizzle Team / help
3y ago
Generated many Relations not available in Relational query builder.
Drizzle TeamDTDrizzle Team / help
11mo ago
Relational query builder in mysql?
Drizzle TeamDTDrizzle Team / help
3y ago
How to use nested joins with relational query builder
Drizzle TeamDTDrizzle Team / help
2y ago