How should one prevent soql injection when using dynamic soql?
Question:
How should one prevent soql injection when using dynamic soql?
Options:
XMLStreanWriter, XMLStreamReader
Messaging.InboundEmailHandler
with sharing keyword
Utilize the String.escapeSingleQuotes(string) method
Correct Answer
The Correct Answer for this Question is
Utilize the String.escapeSingleQuotes(string) method