How can I know an update event on mysql using nodejs with mysql?
问题 I'm a newbie in Nodejs and I want to send data to the client when an update occurs on MySQL. So I found the ORM, Sequelize. Can I know an update event from MySQL using Sequelize? Or how can I know an update event on MySQL using Nodejs with MySQL? 回答1: In case of MySql, triggers are the best option. MySQL Triggers: a trigger or database trigger is a stored program executed automatically to respond to a specific event e.g., insert, update or delete occurred in a table. For example:- You can