Medoo

开始

Where 语句

查询

Transaction

原生SQL查询

PDO object

Debug

数据库信息

min

获得某个列中的最小的值

min($table, $column, $where)
min($table, $join, $column, $where)
Return: [number] 返回最小的值.
$min = $database->min("account", "age", [
    "gender" => "male"
]);

echo "The age of youngest male user is " . $min;