© 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
•
3y ago
•
2 replies
xamarot
Omit fields on "$inferSelect"?
Let
's say I have a table with 5 columns
, I want to do
type TableType = typeof theTable.$inferSelect;
type TableType = typeof theTable.$inferSelect;
but omit some fields
. How do I do that
?
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
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
View No $inferSelect
DT
Drizzle Team / help
17mo ago
Type Hinting $inferSelect
DT
Drizzle Team / help
2y ago
.$inferSelect for relations
DT
Drizzle Team / help
3y ago
Omit properties when using InferInsertModel and InferSelectModel to create Type defintion
DT
Drizzle Team / help
2y ago