Skip to content

Commit

Permalink
escapeSingleQuotes not needed when binding
Browse files Browse the repository at this point in the history
  • Loading branch information
pgajek2 committed Nov 5, 2023
1 parent e0a1f0b commit 38a17e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/classes/SOQL.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ public virtual inherited sharing class SOQL implements Queryable {
}

private String formattedString(String value) {
return value == null ? value : String.escapeSingleQuotes(value.trim());
return value == null ? value : value.trim();
}

public Filter isIn(Iterable<Object> iterable) {
Expand Down

0 comments on commit 38a17e1

Please sign in to comment.