Is there a way to simulate mode: 'string' for bigint?

Have the fields type bigint in postgres and type string when querying/inserting/updating
2 Replies
Mykhailo
Mykhailo7mo ago
Hey @breadfish_18! As for now, only mode: number is supported. https://orm.drizzle.team/docs/column-types/pg#bigint
Drizzle ORM - PostgreSQL column types
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
breadfish_18 | MerchantTF
Hi Mykhailo, thank you for your response. I was able to solve the issue with a customType!
Want results from more Discord servers?
Add your server