@punks/backend-entity-manager 0.0.237 → 0.0.239

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/dist/cjs/index.js CHANGED
@@ -2971,6 +2971,9 @@ class QueryClauseBuilder {
2971
2971
  if (!backendCore.isNullOrUndefined(filter?.in)) {
2972
2972
  clauses.push(typeorm.In(filter.in ?? []));
2973
2973
  }
2974
+ if (!backendCore.isNullOrUndefined(filter?.notIn)) {
2975
+ clauses.push(typeorm.Not(typeorm.In(filter.notIn)));
2976
+ }
2974
2977
  if (!backendCore.isNullOrUndefined(filter?.eq)) {
2975
2978
  clauses.push(typeorm.Equal(filter.eq));
2976
2979
  }
@@ -3018,6 +3021,12 @@ class QueryClauseBuilder {
3018
3021
  if (filter?.isNull === false) {
3019
3022
  clauses.push(typeorm.Not(typeorm.IsNull()));
3020
3023
  }
3024
+ if (!backendCore.isNullOrUndefined(filter?.in)) {
3025
+ clauses.push(typeorm.In(filter.in ?? []));
3026
+ }
3027
+ if (!backendCore.isNullOrUndefined(filter?.notIn)) {
3028
+ clauses.push(typeorm.Not(typeorm.In(filter.notIn)));
3029
+ }
3021
3030
  return typeorm.And(...clauses);
3022
3031
  }
3023
3032
  }