mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
SQL parser doesn't support boolean expressions #7465
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @speller on GitHub (Jan 22, 2025).
I'm trying to create a custom function that will take a boolean expression but I can't do that. When I use my function as
FUNC(table.field)- it works fine. But when I use it asFUNC(NOT table.field), none of the parser methods can parse and understand it. The closest methodSimpleConditionalExpressionexpects a comparison operator. How to fix this issue?