@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 +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.mjs
CHANGED
|
@@ -3518,6 +3518,9 @@ const processRelationWhere = (where, ctx) => {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
if (operatorKeys.length === 1) {
|
|
3520
3520
|
const operator = operatorKeys[0];
|
|
3521
|
+
if (isOperatorOfType("group", operator)) {
|
|
3522
|
+
return processWhere(where, ctx);
|
|
3523
|
+
}
|
|
3521
3524
|
return { [idAlias]: { [operator]: processNested(where[operator], ctx) } };
|
|
3522
3525
|
}
|
|
3523
3526
|
return processWhere(where, ctx);
|