Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
pipe Zod select schema into db.select() - Drizzle Team
DT
Drizzle Team
•
2mo ago
•
15 replies
Teewat
pipe Zod select schema into db.select()
drizzle orm
⚡
drizzle-zod
Hi
! I just want to select the fields in my zod selectSchema
. Is it possible to select only select schema fields without having to manually create the db
.select object
?
I imagine there
's some method for piping the schema into that select parameter
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
Similar Threads
Infered Zod Schema turns into Zod String
DT
Drizzle Team / help
8mo ago
Magic SQL type parse into zod schema
DT
Drizzle Team / help
2y ago
Zod schema validation from Drizzle schema
DT
Drizzle Team / help
3y ago
Drizzle-Zod extend schema....
DT
Drizzle Team / help
14mo ago