Version: v2.6.0
min
Return the minimum value of a column.
min($table, $column, $where)
min($table, $join, $column, $where)
Return Value
[mixed] The minimum value found in the specified column.
$min = $database->min("account", "age", [
"gender" => "male"
]);
echo "The age of the youngest male user is {$min}";