Comparing version 3.4.0 to 3.4.1
@@ -127,5 +127,5 @@ /* SQB | ||
const fields = {}; | ||
/* istanbul ignore else */ | ||
if (response.fields) { | ||
if (response.fields && response.fields.length) { | ||
const fields = {}; | ||
let i = 0; | ||
@@ -141,3 +141,4 @@ for (const f of response.fields) { | ||
response.fields = fields; | ||
} | ||
} else | ||
delete response.fields; | ||
@@ -147,3 +148,3 @@ if (response.cursor) { | ||
} else if (response.rows) { | ||
} else if (response.rows && response.rows.length) { | ||
/* Normalize rows */ | ||
@@ -150,0 +151,0 @@ normalizeRows(response.rows, this.options); |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -51,3 +51,3 @@ | ||
To see changelog click [here](CHANGELOG.md) | ||
To see changelog click [here](https://github.com/panates/sqb/commits/master) | ||
@@ -54,0 +54,0 @@ |
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
37
4433
120530
56