Ā© 2026 Hedgehog Software, LLC

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

createInsertSchema & createSelectSchema difference

I am using
drizzle-zod
drizzle-zod
along with
sveltekit-superforms
sveltekit-superforms
and thoroughly enjoying the combo so far. One question I have is that what is the fundamental difference between the two functions above. I didn't find any related questions or documentation. I think they are mostly the same. taking in a drizzle schema and returning a zod object. Is it just a difference in semantics? I'll appreciate any input on this.
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

Psql Array of text and `createSelectSchema`, `createInsertSchema`
Drizzle TeamDTDrizzle Team / help
3y ago
createSelectSchema & createInsertSchema does not infer array properly
Drizzle TeamDTDrizzle Team / help
3y ago
createInsertSchema
Drizzle TeamDTDrizzle Team / help
2y ago
refine and createInsertSchema
Drizzle TeamDTDrizzle Team / help
13mo ago