I have an application written in Node JS and uses the Sequelize js ORM library to access my database, which is MySql.
My problem is that I have a column in my db that is BIGINT, and when the value of this value is large, I get the wrong values โโwhen I retrieve it.
for example, when the value in the database is: 10205918797953057 I get 10205918797953056 when I get it using sequelize.
I tried using the big-integer library, but I had no luck.
Any advice is welcome.
PS: I cannot change the data type to VARCHAR.
source share