mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Question: Reserved words and quoting #7233
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 @boesing on GitHub (Oct 19, 2023).
Support Question
I've stumbled over https://www.doctrine-project.org/projects/doctrine-orm/en/2.16/reference/basic-mapping.html#quoting-reserved-words which says that one has to quote columns (and I guess also table names?) since doctrine does not quote these on its own.
What I wonder is, what is the purpose of the reserved words per PHP version then if its not to quote stuff which is reserved.
Is that documentation still up2date or did something change meanwhile?
Does this also apply to table names for MySQL 8?
45941c67dd/src/Platforms/Keywords/MySQL80Keywords.php (L55)