Search
Setup for Free
DT
Drizzle Team
•
3y ago
b0o
Why is insertId a string, not a number?
After inserting into a table with an auto
-incrementing pk
, the insertId in the returned ExecutedQuery is a string
. Why isn
't it a number
?
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,800
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
select count(*) returns a string not a number? mysql
DT
Drizzle Team / help
3y ago
bigint is not a number
DT
Drizzle Team / help
2y ago
numeric as number instead of a string
DT
Drizzle Team / help
12mo ago
Why is drizzle-zod converting a string to enum?
DT
Drizzle Team / help
3y ago