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.


1 Reply
Seems like it is a bug and has been reported here
https://github.com/drizzle-team/drizzle-orm/issues/1290
GitHub
[BUG]:
Decimal
type gets casted to number
when queried through ...What version of drizzle-orm are you using? 0.28.6 What version of drizzle-kit are you using? 0.19.13 Describe the Bug With those two tables and relations: export const processes = mysqlTable('p...