postgresql-client
Advanced tools
Comparing version 1.7.1 to 1.8.0
@@ -127,2 +127,6 @@ /// <reference types="node" /> | ||
/** | ||
* Contains row type | ||
*/ | ||
rowType?: 'array' | 'object'; | ||
/** | ||
* Time elapsed to execute command | ||
@@ -129,0 +133,0 @@ */ |
@@ -186,2 +186,4 @@ "use strict"; | ||
current.executeTime = Date.now() - currentStart; | ||
if (current.rows) | ||
current.rowType = opts.objectRows && current.fields ? 'object' : 'array'; | ||
result.results.push(current); | ||
@@ -188,0 +190,0 @@ if (cb) |
@@ -142,2 +142,3 @@ "use strict"; | ||
result.command = 'SELECT'; | ||
result.rowType = options.objectRows ? 'object' : 'array'; | ||
const rows = result.rows = executeResult.rows; | ||
@@ -144,0 +145,0 @@ const l = rows.length; |
{ | ||
"name": "postgresql-client", | ||
"description": "Professional PostgreSQL client for JavaScript and TypeScript", | ||
"version": "1.7.1", | ||
"version": "1.8.0", | ||
"author": "Panates", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
183273
4743
2