Version: v2.6.0
max
Return the maximum value of a column.
max($table, $column, $where)
max($table, $join, $column, $where)
Return Value
[mixed] The maximum value found in the specified column.
$max = $database->max("account", "age", [
"gender" => "female"
]);
echo "The age of the oldest female user is {$max}";