src/Query/QQ.php
static public function func($strName, $param1/** ... */)
    {
        $args = func_get_args();
        $strFunc = array_shift($args);
        return new Node\FunctionNode($strFunc, $args);
    }
static public function func($strName, $param1/** ... */)
    {
        $args = func_get_args();
        $strFunc = array_shift($args);
        return new Node\FunctionNode($strFunc, $args);
    }
static public function func ( $ strName , $ param1 /** ... */ ) { $ args = func_get_args ( ) ; $ strFunc = array_shift ( $ args ) ; return new Node \ FunctionNode ( $ strFunc , $ args ) ; }
Apply an arbitrary scalar function using the given parameters. See below for functions that let you apply
common SQL functions. The list below only includes sql operations that are generic to all supported versions
of SQL. However, you can call Func directly with any named function that works in your current SQL version,
knowing that it might not be cross platform compatible if you ever change SQL engines.

@param string $strName The function name, like ABS or POWER
@param Node\NodeBase|mixed $param1 The function parameter. Can be a qq node or a number.
@return Node\FunctionNode The resulting wrapper node
Apply an arbitrary scalar function using the given parameters . See below for functions that let you apply common SQL functions . The list below only includes sql operations that are generic to all supported versions of SQL . However you can call Func directly with any named function that works in your current SQL version knowing that it might not be cross platform compatible if you ever change SQL engines .