Get Started

Where Syntax

Query

Transaction

Advanced

PDO object

Debug

Information

version: 1.1.3

max

Get the maximum value for the column

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

echo "The age of oldest female user is " . $max;