oak-db 1.0.3 → 1.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.
@@ -183,6 +183,14 @@ var SqlTranslator = /** @class */ (function () {
183
183
  alias: alias,
184
184
  }); });
185
185
  }
186
+ else if (['$not'].includes(op)) {
187
+ analyzeFilterNode({
188
+ node: node[op],
189
+ path: path,
190
+ entityName: entityName,
191
+ alias: alias,
192
+ });
193
+ }
186
194
  else {
187
195
  var rel = (0, relation_1.judgeRelation)(_this.schema, entityName, op);
188
196
  if (typeof rel === 'string') {
@@ -222,7 +230,7 @@ var SqlTranslator = /** @class */ (function () {
222
230
  analyzeFilterNode({
223
231
  node: node[op],
224
232
  path: pathAttr,
225
- entityName: rel,
233
+ entityName: op,
226
234
  alias: alias2,
227
235
  });
228
236
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oak-db",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "oak-db",
5
5
  "main": "lib/index.js",
6
6
  "author": {
@@ -19,7 +19,7 @@
19
19
  "luxon": "^2.4.0",
20
20
  "mysql": "^2.18.1",
21
21
  "mysql2": "^2.3.3",
22
- "oak-domain": "1.1.10",
22
+ "oak-domain": "1.1.11",
23
23
  "uuid": "^8.3.2"
24
24
  },
25
25
  "license": "ISC",