Update EntityManager.php
This commit is contained in:
parent
1880cbd8b6
commit
cd36407f28
@ -290,7 +290,7 @@ use Doctrine\Common\Util\ClassUtils;
|
|||||||
$query = new Query($this);
|
$query = new Query($this);
|
||||||
|
|
||||||
if ( ! empty($dql)) {
|
if ( ! empty($dql)) {
|
||||||
$query->setDql($dql);
|
$query->setDQL($dql);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $query;
|
return $query;
|
||||||
@ -311,7 +311,7 @@ use Doctrine\Common\Util\ClassUtils;
|
|||||||
{
|
{
|
||||||
$query = new NativeQuery($this);
|
$query = new NativeQuery($this);
|
||||||
|
|
||||||
$query->setSql($sql);
|
$query->setSQL($sql);
|
||||||
$query->setResultSetMapping($rsm);
|
$query->setResultSetMapping($rsm);
|
||||||
|
|
||||||
return $query;
|
return $query;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user