Skip to content

Commit

Permalink
Merge pull request #1011 from md2perpe/patch-2
Browse files Browse the repository at this point in the history
Single quotes can't nest
  • Loading branch information
Ocramius committed Apr 15, 2014
2 parents 2da74e5 + 3891107 commit 68d477a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/reference/dql-doctrine-query-language.rst
Expand Up @@ -434,7 +434,7 @@ Starting with 2.4, the IDENTITY() DQL function also works for composite primary
.. code-block:: php
<?php
$query = $em->createQuery('SELECT IDENTITY(c.location, 'latitude') AS latitude, IDENTITY(c.location, 'longitude') AS longitude FROM Checkpoint c WHERE c.user = ?1');
$query = $em->createQuery("SELECT IDENTITY(c.location, 'latitude') AS latitude, IDENTITY(c.location, 'longitude') AS longitude FROM Checkpoint c WHERE c.user = ?1");
Joins between entities without associations were not possible until version
2.4, where you can generate an arbitrary join with the following syntax:
Expand Down

0 comments on commit 68d477a

Please sign in to comment.