Medoo

开始

更新日志

Where 语句

查询

聚合

Fetch

事务

原生SQL查询

Raw object

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;