mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-12-27 15:24:28 +01:00
before: every query need to register pool on acquire event to specify queryFormat based on payload type will cause MaxListenersExceededWarning after: from https://www.npmjs.com/package/mysql#pooling-connections pool.query is a shortcut for pool.getConnection() -> connection.query() -> connection.release() so use pool.getConnection and then set queryFormat before query method be called