@trenskow/pged 5.0.20 → 5.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/query-builder.js +2 -1
package/package.json
CHANGED
package/query-builder.js
CHANGED
|
@@ -367,7 +367,8 @@ export default class QueryBuilder extends CustomPromise {
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
if (key.substring(0, 1) == ':') {
|
|
370
|
-
|
|
370
|
+
this._queryParameters.push(this._formatParameter(key, condition[key]));
|
|
371
|
+
return this._buildCondition(key.substring(1), comparer, `$${this._queryParameters.length}`);
|
|
371
372
|
}
|
|
372
373
|
|
|
373
374
|
let dbKey = key;
|