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