JA 日本語
バージョン: v2.3.0

max

指定したカラムの最大値を返します。

max($table, $column, $where)
max($table, $join, $column, $where)
戻り値
[mixed] 指定したカラムの最大値。
$max = $database->max("account", "age", [
	"gender" => "female"
]);

echo "最年長の女性ユーザーの年齢: {$max}";