1
0
mirror of synced 2025-01-10 11:07:10 +03:00

Merge pull request #1011 from md2perpe/patch-2

Single quotes can't nest
This commit is contained in:
Marco Pivetta 2014-04-15 14:25:24 +02:00
commit 68d477a4c6

View File

@ -434,7 +434,7 @@ Starting with 2.4, the IDENTITY() DQL function also works for composite primary
.. code-block:: php .. code-block:: php
<?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 Joins between entities without associations were not possible until version
2.4, where you can generate an arbitrary join with the following syntax: 2.4, where you can generate an arbitrary join with the following syntax: