Initialize a query builder to perform a MIN query on the database
Parameters | |||
---|---|---|---|
string
|
$table |
The table name |
# |
string
|
$field |
The field name to find min |
# |
string
|
$alias = null |
The optional field alias; defaults to "min" |
# |
Returns | |
---|---|
object
|
QueryBuilder |