© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago
deved9036

Nested insert not working

So in drizzle I’m making a transaction and I’m creating a product, after that I am creating the variants for it. But at this point if I want to insert in the variantImages it just skips this step.

If I try inserting the variantImages after the map it works (manually targeting a variantID).
drizzle-bug.png
relations.png
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

insert with InferModel not working
Drizzle TeamDTDrizzle Team / help
3y ago
Nested select in an insert
Drizzle TeamDTDrizzle Team / help
15mo ago
Insert returning: partial return not working
Drizzle TeamDTDrizzle Team / help
2y ago
Default values not working for insert
Drizzle TeamDTDrizzle Team / help
3y ago