1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Backport Merge pull request #1430 from michael-lavaveshkul/master

"INSTANCE OF" example doesn't match description.
This commit is contained in:
Bill Schaller 2015-06-18 10:41:56 -04:00
parent e4e59d8064
commit 10ed690d99

View File

@ -601,5 +601,5 @@ Querying for the staffs without getting any technicians can be achieved by this
.. code-block:: php .. code-block:: php
<?php <?php
$query = $em->createQuery("SELECT staff FROM MyProject\Model\Staff staff WHERE staff INSTANCE OF MyProject\Model\Staff"); $query = $em->createQuery("SELECT staff FROM MyProject\Model\Staff staff WHERE staff NOT INSTANCE OF MyProject\Model\Technician");
$staffs = $query->getResult(); $staffs = $query->getResult();