Skip to content

Commit 6724fe7

Browse files
committed
Merge pull request symfony#579 from dlsniper/patch-1
Added reference to Doctrine manual regarding reserved SQL keywords
2 parents a581958 + cce8f59 commit 6724fe7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/doctrine.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ be.
1919
If you prefer to use raw database queries, this is easy, and explained
2020
in the ":doc:`/cookbook/doctrine/dbal`" cookbook entry.
2121

22+
23+
Doctrine doesn't auto-escape reserved SQL keywords, for further reference
24+
check Doctrine manual, `Reserved SQL keywords documentation`_.
25+
26+
2227
You can also persist data to `MongoDB`_ using Doctrine ODM library. For
2328
more information, read the ":doc:`/cookbook/doctrine/mongodb`" cookbook
2429
entry.
@@ -1296,3 +1301,4 @@ For more information about Doctrine, see the *Doctrine* section of the
12961301
.. _`Mapping Types Documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#doctrine-mapping-types
12971302
.. _`Property Mapping documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#property-mapping
12981303
.. _`Lifecycle Events documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/events.html#lifecycle-events
1304+
.. _`Reserved SQL keywords documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#quoting-reserved-words

0 commit comments

Comments
 (0)