Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
[Bug?] Drizzle generates a broken query when passing an explicit value for a column as `undefined` - Drizzle Team
DT
Drizzle Team
•
3y ago
•
6 replies
rushil1o1
[Bug?] Drizzle generates a broken query when passing an explicit value for a column as `undefined`
I
've translated most of my logic from Prisma usage
-
> Drizzle
. Noticed an issue where when explicitly passing attributes as
undefined
undefined
while inserting
, drizzle generates a SQL query like
:
sql .... SET exampleProperty = ,
sql .... SET exampleProperty = ,
which throws a syntax error during runtime
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
Broken query when parametized query is undefined
DT
Drizzle Team / help
3y ago
Drizzle as SQL query generator
DT
Drizzle Team / help
3y ago
Drizzle-zod typeerror when passing in pgtable
DT
Drizzle Team / help
2y ago
Type error when passing schema to drizzle
DT
Drizzle Team / help
3y ago