soql-parser-js
Advanced tools
Changelog
4.2.2
August 1, 2021
#160 - getFlattenedFields()
Did not return correct results if a normal field used an alias, such as SELECT Count(Id), Name account_name FROM Account GROUP BY Name
Changelog
4.2.1
June 18, 2021
#157 - getFlattenedFields()
Did not return correct results if the aggregate function was nested in another function, such as FORMAT(MAX(CreatedDate))
.
This bug only applied if there was not a field alias defined.
Changelog
4.2.0
June 8, 2021
#155 - Apex bind variable support is improved to allow parsing of more complex Apex.
Review test cases 112 - 117 for examples of supported apex bind variables.
Changelog
4.1.1
June 6, 2021
#153 - A new parser option has been added named ignoreParseErrors
, which will remove invalid parts of a query if there are parsing errors.
The general structure of the query must be valid and the SELECT
and WHERE
clauses must both be valid, but any other clause may be removed from the parsed output if there are errors parsing the query and ignoreParseErrors
is set to true
.
This option has been added to the documentation application.