From c7b157ce4ad8bf3f2351a694f55d91bd9acfaa56 Mon Sep 17 00:00:00 2001 From: Ruslan Date: Mon, 3 Nov 2025 12:03:00 +0400 Subject: [PATCH] Update QueryBuilder.cls Added missing 'NOT' in the notIn formedCondition --- src/classes/QueryBuilder.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/QueryBuilder.cls b/src/classes/QueryBuilder.cls index d41e4a5..33c2b06 100644 --- a/src/classes/QueryBuilder.cls +++ b/src/classes/QueryBuilder.cls @@ -2194,7 +2194,7 @@ public virtual inherited sharing class QueryBuilder { this.formedCondition = ''; return this; } - this.formedCondition = this.fieldName + ' IN ' + this.bracket(builtSubQuery); + this.formedCondition = this.fieldName + ' NOT IN ' + this.bracket(builtSubQuery); return this; } } @@ -2662,4 +2662,4 @@ public virtual inherited sharing class QueryBuilder { public class QueryBuilderException extends Exception { } -} \ No newline at end of file +}