© 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
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 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
advanced relational query builder
DT
Drizzle Team / help
3y ago
Generated many Relations not available in Relational query builder.
DT
Drizzle Team / help
11mo ago
Relational query builder in mysql?
DT
Drizzle Team / help
3y ago
How to use nested joins with relational query builder
DT
Drizzle Team / help
2y ago