mythix-orm-sql-base 1.4.5 → 1.4.6

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.
@@ -234,7 +234,7 @@ class SQLQueryGeneratorBase extends QueryGeneratorBase {
234
234
  else if (sqlOperator === '!=')
235
235
  sqlOperator = 'NOT IN';
236
236
 
237
- return `${escapedColumnName} ${sqlOperator} (${this.generateSelectStatement(value, this.stackAssign(options, { isSubQuery: true, subQueryOperator: 'EXISTS' }))})`;
237
+ return `${escapedColumnName} ${sqlOperator} (${this.generateSelectStatement(value, this.stackAssign(options, { isSubQuery: true, subQueryOperator: sqlOperator }))})`;
238
238
  }
239
239
 
240
240
  let context = { queryPart, field, sqlOperator, operator, value };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mythix-orm-sql-base",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "SQL base support for Mythix ORM",
5
5
  "main": "lib/index.js",
6
6
  "type": "commonjs",