Connector/Node.js Promise API

The MariaDB Node.js Connector can use different APIs on the back-end: Promise and Callback. The default API is Promise. Callback is provided for compatibility with the mysql and mysql2 APIs.

Complete promise documentation is on driver github page

Last updated

Was this helpful?