[BUG]: Entity alias is not being escaped/quoted when used in the where
option using EntityManager find()
method
#9652
Labels
where
option using EntityManager find()
method
#9652
Issue description
Entity alias is not being escaped/quoted when used in the
where
option using EntityManagerfind()
method. This causes issue when the alias hash starts with a number and it's not a valid identifier without double quotes in PostgreSQLExpected Behavior
The query generated should quote the table aliases to avoid hashes that has number in front.
Actual Behavior
Aliases are not quoted when used in where clause
Steps to reproduce
My Environment
Additional Context
No response
Relevant Database Driver(s)
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, but I don't know how to start. I would need guidance.
The text was updated successfully, but these errors were encountered: