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
Hey @breadfish_18! As for now, only
mode: number
is supported.
https://orm.drizzle.team/docs/column-types/pg#bigintDrizzle ORM - PostgreSQL column types
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Hi Mykhailo, thank you for your response. I was able to solve the issue with a customType!