I would like to get the amount of a MySQL-database, then I query "SELECT COUNT(*) FROM articles_table
" and got "[ RowDataPacket { 'COUNT(*)': 13 } ]"
I have tried to 'console.log(data[0].COUNT)', but I got a undefined message....
Could anyone tell me How do I do to get the number 13 with javascript?
Thank you very much!