Search
Setup for Free
DT
Drizzle Team
•
2y ago
404
How do I get insertId from table using cuid2
I want to insert data using a relations
, but mysql doesn
't support returning
(
)
. so i was using insertId
, but it doesn
't work with custom id like cuid
. What should i do
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,794
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
Discussion: cuid2 vs ulid?
DT
Drizzle Team / help
3y ago
How can I get a type from SelectedFields<MySqlColumn, Table>?
DT
Drizzle Team / help
3y ago
insertID not returned correctly when using custom UUID
DT
Drizzle Team / help
3y ago