Version 3 of martin-georgiev/postgresql-for-doctrine adds some great functions, such as JSONB_PATH_EXISTS. Would be good to have these available.
We've tested with 3.2.2 and the following in doctrine.yaml:
dql:
string_functions:
JSONB_PATH_EXISTS: MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\JsonbPathExists