Method: db::max
Gets the maximum value in a column of a table
Info
Syntax
db::max($table, $column, $where=null)
Parameters
- $table (string) The table name
- $column (string) The name of the column
- $where (mixed) Either a key/value array as AND connected where clause or a simple MySQL where clause string