Comparing version 0.5.0 to 0.6.0
@@ -356,3 +356,3 @@ // Generated by CoffeeScript 1.8.0 | ||
DB.prototype.execute = function(sql, params, cb) { | ||
var executeInternal, parseError, parsedSql, stack, startedAt; | ||
var executeInternal, originalSql, parseError, parsedSql, stack, startedAt; | ||
if (!cb) { | ||
@@ -373,2 +373,3 @@ cb = params; | ||
stack = new Error().stack; | ||
originalSql = sql; | ||
if (params && !Array.isArray(params)) { | ||
@@ -391,3 +392,4 @@ try { | ||
id: executeId, | ||
sql: sql, | ||
sql: originalSql, | ||
parsedSql: sql, | ||
params: params, | ||
@@ -409,3 +411,4 @@ tx: _this.tx.active, | ||
elapsed: completedAt.getTime() - startedAt.getTime(), | ||
sql: sql, | ||
sql: originalSql, | ||
parsedSql: sql, | ||
params: params, | ||
@@ -412,0 +415,0 @@ tx: _this.tx.active, |
{ | ||
"name": "pg-db", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Transactions, named parameters, and more for node-postgres", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
34757
672