lägg till charset :'utf8mb4' i din mysql-anslutningspool.
t.ex.
var connection = mysql.createConnection({
host : 'you_ip',
user : 'user',
password : 'password',
database : 'db',
charset : 'utf8mb4'
});
Ursprungligt inlägg:https://www .koffeewithkode.com/emoji-are-not-inserting-in-database-node-js-mysql/