You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been experimenting with Bun and Drizzle for the past few days, and I have encountered an issue when trying to use BigInt types. To illustrate the problem, I have simplified my code example below.
What version of
drizzle-orm
are you using?^0.31.2
What version of
drizzle-kit
are you using?No response
Describe the Bug
I have been experimenting with Bun and Drizzle for the past few days, and I have encountered an issue when trying to use BigInt types. To illustrate the problem, I have simplified my code example below.
Schema Definition (schema.ts):
Store Data (store.ts):
Retrieve Data (retrieve.ts):
When attempting to retrieve the stored data, I encounter the following error:
It appears the error occurs at this line in the Drizzle ORM utility:
Am I doing something wrong? Thank you!
Expected behavior
A SyntaxError is thrown when trying to parse the stored BigInt value.
Environment & setup
MacOS M3 Max
MacOS Sonoma 14.5
The text was updated successfully, but these errors were encountered: