mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Escaping field names #5134
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 @mxk1011 on GitHub (May 27, 2016).
Originally assigned to: @Ocramius on GitHub.
I can't use field names like group, from, database, ... because it is not escaped with ` - There is no functionallity to make doctrine use clean SQL Code
@Ocramius commented on GitHub (May 27, 2016):
See http://doctrine-orm.readthedocs.io/projects/doctrine-orm/en/latest/reference/limitations-and-known-issues.html#identifier-quoting-and-legacy-databases
Also, you can tell doctrine to quote by default (use a quoting strategy for that), but it may clash with your system due to the reasons mentioned above.