© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
4 replies
Hebilicious

.$inferSelect for relations

Hello there, is there a convenient way to get the list of relations of a specific table ? Either directly or at the type level.
Basically getting what the with argument accept in the rqb.

Cheers o/
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

Way to get relations via typeof someSchema.$inferSelect?
Drizzle TeamDTDrizzle Team / help
2y ago
View No $inferSelect
Drizzle TeamDTDrizzle Team / help
17mo ago
Type Hinting $inferSelect
Drizzle TeamDTDrizzle Team / help
2y ago
Omit fields on "$inferSelect"?
Drizzle TeamDTDrizzle Team / help
3y ago