[2.0] Added missing quoteIdentifiers to SqlWalker
This commit is contained in:
parent
c1744d2e35
commit
3949fddcf5
@ -28,30 +28,15 @@ namespace Doctrine\ORM\Query\AST;
|
|||||||
*/
|
*/
|
||||||
class AggregateExpression extends Node
|
class AggregateExpression extends Node
|
||||||
{
|
{
|
||||||
private $_functionName;
|
public $functionName;
|
||||||
private $_pathExpression;
|
public $pathExpression;
|
||||||
private $_isDistinct = false; // Some aggregate expressions support distinct, eg COUNT
|
public $isDistinct = false; // Some aggregate expressions support distinct, eg COUNT
|
||||||
|
|
||||||
public function __construct($functionName, $pathExpression, $isDistinct)
|
public function __construct($functionName, $pathExpression, $isDistinct)
|
||||||
{
|
{
|
||||||
$this->_functionName = $functionName;
|
$this->functionName = $functionName;
|
||||||
$this->_pathExpression = $pathExpression;
|
$this->pathExpression = $pathExpression;
|
||||||
$this->_isDistinct = $isDistinct;
|
$this->isDistinct = $isDistinct;
|
||||||
}
|
|
||||||
|
|
||||||
public function getPathExpression()
|
|
||||||
{
|
|
||||||
return $this->_pathExpression;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function isDistinct()
|
|
||||||
{
|
|
||||||
return $this->_isDistinct;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getFunctionName()
|
|
||||||
{
|
|
||||||
return $this->_functionName;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function dispatch($sqlWalker)
|
public function dispatch($sqlWalker)
|
||||||
|
Loading…
Reference in New Issue
Block a user