Query\QueryBuilder::select_min
Selects the minimum value of a field from a query
Signature
public function select_min(string
$field,
[boolean
$as = FALSE] )
Parameters
$field
—
string
$as
—
boolean
Returns
- Query_Builder
Defined by Interface
QueryBuilderInterface
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testSelectMin
- [ PASSED ] — PgSQLQBTest::testSelectMin
- [ PASSED ] — SQLiteQBTest::testSelectMin
- [ PASSED ] — FirebirdQBTest::testSelectMin