Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
drizzle infers incorrect type of decimal - Drizzle Team
DT
Drizzle Team
•
3y ago
•
1 reply
nqhtrung
drizzle infers incorrect type of decimal
I declare a column of type decimal
. When inserting data
, it requires a string
(which makes sense as JS can
't handle big number
)
. However
, when I query the column
, it is returned as number while it is inferred as string by typescript
.
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
drizzle-typebox infers integer() as TString
DT
Drizzle Team / help
15mo ago
isNotNull() returning incorrect Type
DT
Drizzle Team / help
2y ago
Incorrect return type findFrist
DT
Drizzle Team / help
3y ago