mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
chore: update dependencies
mysql2 patch no longer includes types, profiling, or connection attributes.
This commit is contained in:
1 parent
fa0068e798
commit
ef7f4156df
5 files changed
+1100
-1251
No files matched your search
@@ -25,6 +25,9 @@ setInterval(() => {
|
||||
}, 1000);
|
||||
|
||||
setTimeout(async () => {
|
||||
const flags = []
|
||||
flags.push(connectionOptions.database ? 'CONNECT_WITH_DB' : '-CONNECT_WITH_DB')
|
||||
|
||||
pool = createPool({
|
||||
connectTimeout: 60000,
|
||||
trace: false,
|
||||
@@ -32,6 +35,7 @@ setTimeout(async () => {
|
||||
...connectionOptions,
|
||||
typeCast,
|
||||
namedPlaceholders: false, // we use our own named-placeholders patch, disable mysql2s
|
||||
flags: flags
|
||||
});
|
||||
|
||||
const connection = await pool.getConnection();
|
||||
|
||||
Reference in new issue
Block a user