@trenskow/pged 4.0.3 → 4.0.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/query-builder.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trenskow/pged",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Just a silly little db management and query builder for PostgreSQL.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/query-builder.js CHANGED
@@ -322,7 +322,7 @@ module.exports = exports = class QueryBuilder extends CustomPromise {
322
322
  case '$regexp':
323
323
  case '$jsonContains':
324
324
  case '$jsonNotContains':
325
- case 'jsonArrayContains':
325
+ case '$jsonArrayContains':
326
326
  return this._buildConditions(condition[key], operator, key, true);
327
327
  default:
328
328
  throw new TypeError(`Unknown modifier ${caseit(key)}.`);