Soql sentences were only recognized as such when they were in the format "[ SOQLSentence ]" and not as strings, for example Database.query(' SOQLSentence ').
In order to solve this issue, whenever a query was recognized as a String, this need to be re-parsed as a SOQL_EXPRESSION
Soql sentences were only recognized as such when they were in the format "[ SOQLSentence ]" and not as strings, for example Database.query(' SOQLSentence ').
In order to solve this issue, whenever a query was recognized as a String, this need to be re-parsed as a SOQL_EXPRESSION