We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f158b commit 98b45ceCopy full SHA for 98b45ce
force-app/main/default/classes/SOQL.cls
@@ -707,7 +707,8 @@ public virtual inherited sharing class SOQL implements Queryable {
707
}
708
709
public override String toString() {
710
- return builder.resetBinding().toString();
+ binder = new Binder(); // clear binding before query build
711
+ return builder.toString();
712
713
714
public Object toValueOf(SObjectField fieldToExtract) {
@@ -877,11 +878,6 @@ public virtual inherited sharing class SOQL implements Queryable {
877
878
879
880
- public QueryBuilder resetBinding() {
881
- binder = new Binder();
882
- return this;
883
- }
884
-
885
886
String query = '';
887
0 commit comments