mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
chore: Set default values for createPool
This commit is contained in:
1 parent
5d50e098d8
commit
43c8ffd694
2 files changed
+6
-1
No files matched your search
Whitespace-only changes.
+6
-1
@@ -4,7 +4,12 @@ const { createPool } = require('mysql2/promise');
|
||||
const pool = createPool({
|
||||
host: 'localhost',
|
||||
user: 'root',
|
||||
database: 'es_extended'
|
||||
password: 'password',
|
||||
database: 'database',
|
||||
charset: 'utf8mb4',
|
||||
multipleStatements: true,
|
||||
namedPlaceholders: true,
|
||||
waitForConnections: true,
|
||||
});
|
||||
|
||||
const execute = async (query, parameters) => {
|
||||
|
||||
Reference in new issue
Block a user