mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
fix: leftover console.log, typeCast
This commit is contained in:
1 file changed
-3
@@ -29,7 +29,6 @@ const pool = createPool({
|
||||
database: config.endpoint,
|
||||
charset: "utf8mb4_unicode_ci",
|
||||
namedPlaceholders: true,
|
||||
typeCast: false,
|
||||
...config.options,
|
||||
});
|
||||
|
||||
@@ -62,8 +61,6 @@ const execute = async (query, parameters) => {
|
||||
try {
|
||||
const [formattedQuery, formattedParameters] = formatQuery(query, parameters);
|
||||
|
||||
console.log(formattedQuery);
|
||||
|
||||
const startTime = process.hrtime.bigint();
|
||||
const [result] = await pool.execute(formattedQuery, formattedParameters);
|
||||
const executionTime = Number(process.hrtime.bigint() - startTime) / 1000000;
|
||||
|
||||
Reference in new issue
Block a user