-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with parsing int64 values? #69
Comments
Interesting. I tested the above on Node v20.14.0 and it works fine. Perhaps this is something specific to Bun? |
Sure enough, I ran the exact same script on the same machine using Bun, and it failed in the ways you describe. Could be a bug in Bun's implementation of the Node Addon API. |
Yup, there's a TODO in the Bun code regarding the |
Asked about this in the relevant Bun issue. |
Bun bug: oven-sh/bun#15797 |
Should be fixed in Bun v1.1.40. |
Yes, it seems to be working as expected now. Thank you! |
Thanks for the quick fix @190n! |
When I'm trying to insert BigInt and Timestamp values, I get errors, both with prepared statements and appenders. I'm not sure if it's a bug or me doing something wrong, because there are no mentions of BigInts and Timestamps in the documentations for now.
How to Reproduce the Problem
Here is a minimal test case:
Specifications
The text was updated successfully, but these errors were encountered: