Comparing version 0.0.4 to 0.0.5
@@ -28,4 +28,4 @@ /** | ||
this.namedParams = !config || config.namedParams === undefined || !!config.namedParams; | ||
this.inputParams = (config && config.params) || {}; | ||
this.reservedWords = ['select', 'with', 'join', 'and', 'or', 'not']; | ||
this._inputParams = (config && config.params) || {}; | ||
} | ||
@@ -184,6 +184,6 @@ | ||
str += item.operator + ' :' + item.param; | ||
this.params[item.param] = this.inputParams[item.param]; | ||
this.params[item.param] = this._inputParams[item.param]; | ||
} else { | ||
str += item.operator + ' ?'; | ||
this.params.push(this.inputParams[item.param]); | ||
this.params.push(this._inputParams[item.param]); | ||
} | ||
@@ -190,0 +190,0 @@ } else { |
{ | ||
"name": "sqb", | ||
"description": "Lightweight, multi-dialect SQL query builder for JavaScript", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"author": "Panates Ltd.", | ||
@@ -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
27676