db_max

Initialize a query builder to perform a MAX query on the database

Parameters
string $table

The table name

#
string $field

The field name to find max

#
string $alias = null

The optional field alias; defaults to "max"

#
Returns
object

QueryBuilder