SELECT company.name
FROM company
WHERE company.categories ->> 'items' ILIKE '%Health Care%'
OR company.categories ->> 'items' ILIKE '%Health & Wellness%'
Expected behavior
I think the operator precedence over ->> is wrong as I would expect the root node to be a binary expr with operator "OR" and the left and right to be the JSONB operation comparisons
Describe the bug
generates an AST with the following
where
:Database Engine PostgreSQL
To Reproduce See description
Expected behavior I think the operator precedence over
->>
is wrong as I would expect the root node to be a binary expr with operator "OR" and the left and right to be the JSONB operation comparisons