refactor(pool): new createConnection function

Remove the connection string parsing and send the URI directly, if it exists. For semicolon connection strings, check for and replace aliases.
This commit is contained in:
Linden committed 2021-11-25 20:29:02 +11:00
1 parent 381627266f
commit f3fc016f31
3 files changed
+22 -54

No files matched your search

-1
View File
@@ -13,7 +13,6 @@
},
"dependencies": {
"@citizenfx/server": "^2.0.4793-1",
"connection-string-parser": "^1.0.4",
"mysql2": "https://github.com/overextended/node-mysql2.git",
"postinstall-postinstall": "^2.1.0"
},