mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 22:22:50 +00:00
chore: Update dependencies and version bump
This commit is contained in:
1 parent
a06cf65d10
commit
1266f4a7b6
3 files changed
+116
-116
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { createPool } from 'mysql2/promise';
|
||||
import { debug } from './config';
|
||||
import { parseTypes } from './parser';
|
||||
import { ConnectionStringParser } from 'connection-string-parser';
|
||||
|
||||
@@ -35,8 +34,6 @@ const createConnection = () => {
|
||||
database: options.endpoint || options.database || 'es_extended',
|
||||
charset: 'utf8mb4_unicode_ci',
|
||||
connectTimeout: 30000,
|
||||
trace: debug || false,
|
||||
debug: debug || false,
|
||||
...options.options,
|
||||
namedPlaceholders: true,
|
||||
typeCast: parseTypes,
|
||||
@@ -59,8 +56,6 @@ const createConnection = () => {
|
||||
database: options.endpoint || 'es_extended',
|
||||
charset: 'utf8mb4_unicode_ci',
|
||||
connectTimeout: 30000,
|
||||
trace: debug || false,
|
||||
debug: debug || false,
|
||||
...options.options,
|
||||
namedPlaceholders: true,
|
||||
typeCast: parseTypes,
|
||||
|
||||
Reference in new issue
Block a user