Get Started

Where Syntax

Query

Transaction

Advanced

PDO object

Debug

Information

version: 1.1.3

min

Get the minimum value for the column

min($table, $column, $where)
min($table, $join, $column, $where)
Return: [number] The minimum number of the column.
$min = $database->min("account", "age", [
	"gender" => "male"
]);

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