Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Why is insertId a string, not a number? - Drizzle Team
DT
Drizzle Team
โข
3y ago
โข
9 replies
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,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
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
13mo ago
Why is drizzle-zod converting a string to enum?
DT
Drizzle Team / help
3y ago