@trenskow/pged 5.0.16 → 5.0.17

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 +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trenskow/pged",
3
- "version": "5.0.16",
3
+ "version": "5.0.17",
4
4
  "description": "Just a silly little db management and query builder for PostgreSQL.",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/query-builder.js CHANGED
@@ -387,6 +387,8 @@ export default class QueryBuilder extends CustomPromise {
387
387
  switch (comparer) {
388
388
  case '$eq':
389
389
  return `${dbKey} is null`;
390
+ case '$neq':
391
+ // fallthrough
390
392
  case '$ne':
391
393
  return `${dbKey} is not null`;
392
394
  default: