© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
DT
Drizzle Team
•
13mo ago
tcurdt
numeric as number instead of a string
In a table I have
numerals: numeric().array().notNull()
numerals: numeric().array().notNull()
Now while I know that internally the DB treats
numeric
numeric
as strings
, on the TS side of things I would rather deal with it as a
number
number
Is there a way for drizzle do those conversions and the type being
number[]
number[]
instead of
string[]
string[]
?
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
Recent Announcements
Similar Threads
Numeric type returns number instead of string as defined in TypeScript
DT
Drizzle Team / help
2y ago
Mysql JSON_ARRAYAGG as a string instead of a json
DT
Drizzle Team / help
3y ago
Numeric // Decimal Postgres types are inferred as strings and expect string as an input as well
DT
Drizzle Team / help
3y ago
TIMESTAMPTZ is returned as string instead of Date object
DT
Drizzle Team / help
3y ago