min() public method
Returns the minimum of the specified column values.
public integer min ( $q, $db = null ) | ||
---|---|---|
$q | string |
The column name. Make sure you properly quote column names in the expression. |
$db | yii\mongodb\Connection |
The database connection used to generate the SQL statement. If this parameter is not given, the |
return | integer |
The minimum of the specified column values. |
Please login to continue.