public max ( string $q, |
||
$q | string | the column name. Make sure you properly quote column names in the expression. |
$db | the Mongo connection used to execute the query. If this parameter is not given, the `mongodb` application component will be used. | |
return | integer | the maximum of the specified column values. |