Update lib/Doctrine/ORM/Query/Expr.php
This commit is contained in:
parent
ca01065c6a
commit
4a50eb4fa7
@ -40,10 +40,12 @@ class Expr
|
|||||||
*
|
*
|
||||||
* [php]
|
* [php]
|
||||||
* // (u.type = ?1) AND (u.role = ?2)
|
* // (u.type = ?1) AND (u.role = ?2)
|
||||||
* $expr->andX('u.type = ?1', 'u.role = ?2'));
|
* $expr->andX($expr->eq('u.type', ':1'), $expr->eq('u.role', ':2'));
|
||||||
*
|
*
|
||||||
* @param mixed $x Optional clause. Defaults = null, but requires
|
* @param Doctrine\ORM\Query\Expr\Comparison |
|
||||||
* at least one defined when converting to string.
|
* Doctrine\ORM\Query\Expr\Func |
|
||||||
|
* Doctrine\ORM\Query\Expr\Orx
|
||||||
|
* $x Optional clause. Defaults = null, but requires at least one defined when converting to string.
|
||||||
* @return Expr\Andx
|
* @return Expr\Andx
|
||||||
*/
|
*/
|
||||||
public function andX($x = null)
|
public function andX($x = null)
|
||||||
|
Loading…
Reference in New Issue
Block a user