Skip to content

Commit

Permalink
feat: Make connection charset configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaumgartl committed Nov 7, 2024
1 parent 9b747cf commit de70383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ class DataSource {
port: serverCfg.port || 3306,
user: serverCfg.user || this._config.user,
password: serverCfg.password || this._config.password,
charset: serverCfg.charset || this._config.charset,
database,
connectTimeout: serverCfg.connectTimeout || this._config.connectTimeout || 3000,
connectionLimit: serverCfg.poolSize || this._config.poolSize || 10,
Expand Down

0 comments on commit de70383

Please sign in to comment.