private function funcCondition($name, $arg = null)
    {
        $this->getExpr()->addCondition(new ConditionFunc(
            $name,
            $this,
            $arg !== null ? $this->getExpr()->value($arg) : null
        ));

        return $this->getExpr();
    }
private function funcCondition($name, $arg = null)
    {
        $this->getExpr()->addCondition(new ConditionFunc(
            $name,
            $this,
            $arg !== null ? $this->getExpr()->value($arg) : null
        ));

        return $this->getExpr();
    }
private function funcCondition ( $ name , $ arg = null ) { $ this -> getExpr ( ) -> addCondition ( new ConditionFunc ( $ name , $ this , $ arg !== null ? $ this -> getExpr ( ) -> value ( $ arg ) : null ) ) ; return $ this -> getExpr ( ) ; }
Add a function call to the current expression.

@param string      $name
@param string|null $arg

@return QueryBuilder|Expr
Add a function call to the current expression .