mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
fix(config): respect connection-string flags
This commit is contained in:
1 parent
37a3a7cd0a
commit
d95ba8b5ce
1 file changed
+1
-1
+1
-1
@@ -88,7 +88,7 @@ export const connectionOptions = (() => {
|
||||
}
|
||||
}
|
||||
|
||||
const flags: string[] = [];
|
||||
const flags: string[] = options.flags || [];
|
||||
flags.push(options.database ? 'CONNECT_WITH_DB' : '-CONNECT_WITH_DB');
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user