版本: v2.6.0
max
返回指定列的最大值。
max($table, $column, $where)
max($table, $join, $column, $where)
返回值
[mixed] 返回指定列中的最大值。
$max = $database->max("account", "age", [
"gender" => "female"
]);
echo "年龄最大的女性用户为 {$max}";