yii\redis\ActiveQuery::min PHP 메소드

min() 공개 메소드

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.
리턴 integer the minimum of the specified column values.
    public function min($column, $db = null)
    {
        return $this->executeScript($db, 'Min', $column);
    }