feat: refs #7811 Added new params in datasources.json #2898

Merged
guillermo merged 3 commits from 7811-datasourcesAddParams into dev 2024-09-02 10:02:15 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 4e52f344f4 - Show all commits

View File

@ -342,6 +342,9 @@ exports.initialize = function initialize(dataSource, callback) {
}
};
// Code extracted from original Loopback MySQL connector
// since it cannot be reused, please try not to alter it.
// https://github.com/loopbackio/loopback-connector-mysql/blob/v6.2.0/lib/mysql.js
MySQL.prototype.connect = function(callback) {
const self = this;
const options = generateOptions(this.settings);