@punks/backend-entity-manager 0.0.485 → 0.0.486

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
@@ -3611,6 +3611,17 @@ class QueryBuilderBase {
3611
3611
  }
3612
3612
 
3613
3613
  class QueryClauseBuilder {
3614
+ arrayFilter(filter) {
3615
+ if (filter.eq) {
3616
+ return `{${filter.eq
3617
+ .map((v) => `"${v}"`)
3618
+ .join(",")}}`;
3619
+ }
3620
+ if (filter?.isNull) {
3621
+ return typeorm.IsNull();
3622
+ }
3623
+ return typeorm.And();
3624
+ }
3614
3625
  enumFilter(filter) {
3615
3626
  const clauses = [];
3616
3627
  if (!backendCore.isNullOrUndefined(filter?.in)) {