MySQL Connector/Node.js 是使用 ECMAScript 6 Promise 物件建置,以提供非同步 API。所有網路操作都會傳回 Promise,該 Promise 在伺服器回應時解析。請參閱關於 ES6 Promise 實作的資訊。