@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.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/query/helpers/where.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -3545,6 +3545,9 @@ const processRelationWhere = (where, ctx) => {
|
|
|
3545
3545
|
}
|
|
3546
3546
|
if (operatorKeys.length === 1) {
|
|
3547
3547
|
const operator = operatorKeys[0];
|
|
3548
|
+
if (utils.isOperatorOfType("group", operator)) {
|
|
3549
|
+
return processWhere(where, ctx);
|
|
3550
|
+
}
|
|
3548
3551
|
return { [idAlias]: { [operator]: processNested(where[operator], ctx) } };
|
|
3549
3552
|
}
|
|
3550
3553
|
return processWhere(where, ctx);
|