We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a92998 commit 1a01e23Copy full SHA for 1a01e23
packages/drivers/memory/src/index.ts
@@ -593,7 +593,7 @@ export class MemoryDriver implements Driver {
593
} else if (allConditions.length === 1) {
594
return allConditions[0];
595
} else {
596
- // Determine top-level operator: use OR if any group has OR logic
+ // Determine top-level operator: use OR if any non-empty group has OR logic
597
const hasOrLogic = logicGroups.some(g => g.logic === 'or' && g.conditions.length > 0);
598
if (hasOrLogic) {
599
return { $or: allConditions };
0 commit comments