WHERE clause allows and/or as first statement
paustint opened this issue · 0 comments
paustint commented
- Feature
- Bug
Description
This query is invalid, but is parsed as if it is valid 😨
SELECT Id
FROM User
WHERE AND IsActive = TRUE
No AND/OR clause between the elements 😨
SELECT Id
FROM User
WHERE IsActive = TRUE (
Profile.Name = 'System Administrator'
OR Name IN ('foo')
)