I tried using the bigInt module, but I couldn’t find a way to tell the SQL query to store the retrieved number as a big integer within the database. I’m hoping someone has an idea to solve this problem.
I’m working on a Discord bot using discord.js. I’m trying to extract a message ID from my SQL database. While I retrieve it successfully, the last two digits are truncated because JavaScript can’t store numbers that large. Here’s the message ID stored in the database: 1244697761824112726. Here’s the output from my program: rows: { EmbedMsg: 1244697761824112600 }