We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a valid query:
SELECT AnnualRevenue FROM Account WHERE Name <> NULL AND (NOT (AnnualRevenue > 0))
This is also a valid query:
SELECT AnnualRevenue FROM Account WHERE Name <> NULL AND (NOT AnnualRevenue > 0)
And this is not a valid query:
SELECT AnnualRevenue FROM Account WHERE Name <> NULL AND NOT (AnnualRevenue > 0)
This will throw a unexpected token: 'NOT' on Salesforce.
unexpected token: 'NOT'
Yet the parser can parse both without an issue.
EDIT: I added another scenario for a valid query if the negated term is only a single expression.
The text was updated successfully, but these errors were encountered:
@ghingis - Thanks for bringing this up. NOT can be a tricky one, I will take a look.
NOT
Sorry, something went wrong.
No branches or pull requests
Description
This is a valid query:
This is also a valid query:
And this is not a valid query:
This will throw a
unexpected token: 'NOT'
on Salesforce.Yet the parser can parse both without an issue.
EDIT: I added another scenario for a valid query if the negated term is only a single expression.
The text was updated successfully, but these errors were encountered: