rez_core 6.5.84 → 6.5.86

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "6.5.84",
3
+ "version": "6.5.86",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -1243,22 +1243,22 @@ export class FilterService {
1243
1243
  if (arr.length === 0) {
1244
1244
  return { query: '1=1', params: {} };
1245
1245
  }
1246
-
1247
- if (op === 'equal') {
1246
+ if (op === 'equal') {
1248
1247
  return {
1249
1248
  query: `e.${attr}::text = ANY(:${key})`,
1250
- params: { [key]: arr },
1249
+ params: { [key]: `{${arr.join(',')}}` },
1251
1250
  };
1252
1251
  }
1253
1252
 
1254
1253
  if (op === 'not_equal') {
1255
1254
  return {
1256
1255
  query: `NOT (e.${attr}::text = ANY(:${key}))`,
1257
- params: { [key]: arr },
1256
+ params: { [key]: `{${arr.join(',')}}` },
1258
1257
  };
1259
1258
  }
1260
1259
 
1261
1260
 
1261
+
1262
1262
  if (op === 'contains') {
1263
1263
  return {
1264
1264
  query: `e.${attr}::text LIKE :${key}`,