yii\redis\ActiveQuery::min PHP Method

min() public method

Returns the minimum of the specified column values.
public min ( string $column, Connection $db = null ) : integer
$column string the column name or expression. Make sure you properly quote column names in the expression.
$db Connection the database connection used to execute the query. If this parameter is not given, the `db` application component will be used.
return integer the minimum of the specified column values.
    public function min($column, $db = null)
    {
        return $this->executeScript($db, 'Min', $column);
    }