public min ( string $q, |
||
$q | string | the column name. Make sure you properly quote column names in the expression. |
$db | the database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used. | |
return | integer | the minimum of the specified column values. |