버전: v2.6.0
min
지정한 컬럼의 최소값을 반환합니다.
min($table, $column, $where)
min($table, $join, $column, $where)
반환값
[mixed] 지정한 컬럼의 최소값입니다.
$min = $database->min("account", "age", [
"gender" => "male"
]);
echo "가장 어린 남성 사용자의 나이는 {$min}세입니다.";