Good afternoon, the data is sent to the database: channel:966735614273806457 message: 966735619332136962
They show up correctly in the database. but when i try to get them i get an object with rounded numbers like:
{ id: 29, channel: 966735614273806500, message: 966735619332137000 }
I am getting data with the following query:
const sqlq = `SELECT * FROM report`
await data.db.all(sqlq,[],(err,row)=>{
console.log(row[row.length-1])
})
In general, my task is to get the last element of the database every time, if there is still the possibility of obtaining it without adding all the elements to the array, then I would like to know this. I am using the sqlite library