繁體中文
版本: v2.3.0

max

回傳指定欄位的最大值。

max($table, $column, $where)
max($table, $join, $column, $where)
回傳值
[mixed] 回傳指定欄位中的最大值。
$max = $database->max("account", "age", [
	"gender" => "female"
]);

echo "年齡最大的女性使用者為 {$max}";