We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
parseInt is applied to parse BIGINT in the code:
https://github.com/sequelize/sequelize/blob/master/lib/dialects/mariadb/query.js#L57
parseInt would not keep the precision of bigint
parseInt('1481101092915232636') 1481101092915232500
It needs additional package like bignum, https://www.npmjs.org/package/bignum , to work
returning a wrong result is even worse than returning the raw string.
The text was updated successfully, but these errors were encountered:
This should be fixed since the data types got refactored, right? @mickhansen @janmeier
Sorry, something went wrong.
@BridgeAR I doubt it, but it's a driver issue rather than a sequelize issue.
No branches or pull requests
parseInt is applied to parse BIGINT in the code:
https://github.com/sequelize/sequelize/blob/master/lib/dialects/mariadb/query.js#L57
parseInt would not keep the precision of bigint
It needs additional package like bignum, https://www.npmjs.org/package/bignum , to work
returning a wrong result is even worse than returning the raw string.
The text was updated successfully, but these errors were encountered: