src/Manipulation/ColumnQuery.php
public function setFunctionAsColumn($funcName, array $arguments, $alias)
    {
        $this->columnFuncs[$alias] = ['func' => $funcName, 'args' => $arguments];

        return $this;
    }
public function setFunctionAsColumn($funcName, array $arguments, $alias)
    {
        $this->columnFuncs[$alias] = ['func' => $funcName, 'args' => $arguments];

        return $this;
    }
Allows calculation on columns using predefined SQL functions.

@param string   $funcName
@param string[] $arguments
@param string   $alias

@return $this