@strapi/database 4.24.0 → 4.24.2

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/index.js CHANGED
@@ -3552,6 +3552,9 @@ const processRelationWhere = (where, ctx) => {
3552
3552
  }
3553
3553
  if (operatorKeys.length === 1) {
3554
3554
  const operator = operatorKeys[0];
3555
+ if (utils.isOperatorOfType("group", operator)) {
3556
+ return processWhere(where, ctx);
3557
+ }
3555
3558
  return { [idAlias]: { [operator]: processNested(where[operator], ctx) } };
3556
3559
  }
3557
3560
  return processWhere(where, ctx);