Backport Merge pull request #1430 from michael-lavaveshkul/master
"INSTANCE OF" example doesn't match description.
This commit is contained in:
parent
e4e59d8064
commit
10ed690d99
1 changed files with 1 additions and 1 deletions
|
@ -601,5 +601,5 @@ Querying for the staffs without getting any technicians can be achieved by this
|
|||
.. code-block:: 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();
|
||||
|
|
Loading…
Add table
Reference in a new issue