Comparing version 1.2.2 to 1.2.3
{ | ||
"name": "highsql", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "High level MySQL utility", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -30,3 +30,3 @@ /** | ||
async query(sql, values) { | ||
const connection = this.pool; | ||
const connection = await this.pool.getConnection(); | ||
try { | ||
@@ -33,0 +33,0 @@ const [rows] = await connection.query(sql, values); |
@@ -51,3 +51,3 @@ /** | ||
): Promise<T> { | ||
const connection = this.pool | ||
const connection = await this.pool.getConnection() | ||
try { | ||
@@ -54,0 +54,0 @@ const [rows] = await connection.query(sql, values); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15257