TH ไทย
เวอร์ชัน: v2.3.0

min

คืนค่าต่ำสุดของคอลัมน์

min($table, $column, $where)
min($table, $join, $column, $where)
ค่าที่ส่งกลับ
[mixed] ค่าต่ำสุดที่พบในคอลัมน์ที่ระบุ
$min = $database->min("account", "age", [
	"gender" => "male"
]);

echo "อายุของผู้ใช้ชายที่อายุน้อยที่สุดคือ {$min}";