SoqlParserError if the query is invalid or malformed
Example
constquery = parseSoqlQuery('SELECT Id, Name FROM Account WHERE Status = "Active" LIMIT 10'); console.log(query.select.items); // Access the selected fields console.log(query.where?.expr); // Access the WHERE condition
Parses a SOQL query string and returns the structured query representation.