© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
What is the purpose of exporting relations - Drizzle Team
DT
Drizzle Team
•
3y ago
•
2 replies
jakeleventhal
What is the purpose of exporting relations
https://orm.drizzle.team/docs/rqb#declaring-relations
What is the purpose of exporting declared relations
?
Also
, I feel like it would make sense that relations would be an optional argument in pgTable
, not a separately declared item
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind
.
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
What is the purpose of the _meta directory?
DT
Drizzle Team / help
3y ago
Is this the right way of using relations ?
DT
Drizzle Team / help
2y ago
what are the last 2 ? is it becuase im using relations?
DT
Drizzle Team / help
2y ago
Include count of relations
DT
Drizzle Team / help
3y ago