Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ be.
If you prefer to use raw database queries, this is easy, and explained
in the ":doc:`/cookbook/doctrine/dbal`" cookbook entry.


Doctrine doesn't auto-escape reserved SQL keywords, for further reference
check Doctrine manual, `Reserved SQL keywords documentation`_.


You can also persist data to `MongoDB`_ using Doctrine ODM library. For
more information, read the ":doc:`/cookbook/doctrine/mongodb`" cookbook
entry.
Expand Down Expand Up @@ -1296,3 +1301,4 @@ For more information about Doctrine, see the *Doctrine* section of the
.. _`Mapping Types Documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#doctrine-mapping-types
.. _`Property Mapping documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#property-mapping
.. _`Lifecycle Events documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/events.html#lifecycle-events
.. _`Reserved SQL keywords documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/basic-mapping.html#quoting-reserved-words
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this link is not used in the chapter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How should I use the link? I'm very new to the documentation format and @work the same time. Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should use ``Reserved SQL keywords documentation_ somewhere in the file to place the link.
See line 27 (that appear in the diff here) for the link to MongoDB for instance