Can anyone provide an example of how I could achieve MySQL transactions in Node.js. I am trying to get my head around using the node-mysql driver and node-mysql-queue.
You can use it with the mysql also, just use this function without any parameters /call back . Make sure you have async function and use these instead
await con.rollback(); await con.beginTransaction(); await con.commit();
Life set.....