Skip to content

Loading…

DDC-740: Mantain a list of DQL reserved keywords #5254

Open
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @guilhermeblanco:

We should keep a list of DQ reserved keywords, so users can check out what they can use or not.

@doctrinebot

Comment created by manasiv:

Here is the list of reserved keywords for MySQL: http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html
The documentation does not clearly mention that the backticks for a column with a reserved keyword in the ORM mapping file. This file could be in xml, yaml or php.
So,the right way to apply backticks is:

@doctrinebot

Comment created by luizsoliveira:

Here is the list of reserved keywords for PostgreSQL

http://www.postgresql.org/docs/7.3/static/sql-keywords-appendix.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.