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