unsigned bigint casted to string

Hey y'all. So, I currently faced an issue with drizzle where I had a column of type unsigned bigint with a FK constraint. On querying the row the value returned is casted to string. I'd like to know what's the best way to fix the typing or this behaviour. Because TS still interprets the type as number however at runtime the value is casted to string and has caused serious bugs in our app
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server