123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
-
-
- namespace Doctrine\ORM\Query\AST;
-
-
- class QuantifiedExpression extends Node
- {
- public $type;
- public $subselect;
-
- public function __construct($subselect)
- {
- $this->subselect = $subselect;
- }
-
- public function isAll()
- {
- return strtoupper($this->type) == 'ALL';
- }
-
- public function isAny()
- {
- return strtoupper($this->type) == 'ANY';
- }
-
- public function isSome()
- {
- return strtoupper($this->type) == 'SOME';
- }
-
-
-
- public function dispatch($sqlWalker)
- {
- return $sqlWalker->walkQuantifiedExpression($this);
- }
- }
-
|