@strapi/database 4.23.1 → 4.23.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.mjs CHANGED
@@ -3511,6 +3511,9 @@ const processRelationWhere = (where, ctx) => {
3511
3511
  }
3512
3512
  if (operatorKeys.length === 1) {
3513
3513
  const operator = operatorKeys[0];
3514
+ if (isOperatorOfType("group", operator)) {
3515
+ return processWhere(where, ctx);
3516
+ }
3514
3517
  return { [idAlias]: { [operator]: processNested(where[operator], ctx) } };
3515
3518
  }
3516
3519
  return processWhere(where, ctx);