Query\QueryBuilder::group_by
Group the results by the selected field(s)
Signature
public function group_by(mixed
$field )
Parameters
$field
—
mixed
Returns
- Query_Builder
Defined by Interface
QueryBuilderInterface
Test Coverage
Information
- Coverage: 8/8 Lines (100%)
- Tests: 16
- Passed: 16 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testFunctionGet
- [ PASSED ] — MySQLQBTest::testHaving
- [ PASSED ] — MySQLQBTest::testOrHaving
- [ PASSED ] — MySQLQBTest::testGroupBy
- [ PASSED ] — PgSQLQBTest::testFunctionGet
- [ PASSED ] — PgSQLQBTest::testHaving
- [ PASSED ] — PgSQLQBTest::testOrHaving
- [ PASSED ] — PgSQLQBTest::testGroupBy
- [ PASSED ] — SQLiteQBTest::testFunctionGet
- [ PASSED ] — SQLiteQBTest::testHaving
- [ PASSED ] — SQLiteQBTest::testOrHaving
- [ PASSED ] — SQLiteQBTest::testGroupBy
- [ PASSED ] — FirebirdQBTest::testFunctionGet
- [ PASSED ] — FirebirdQBTest::testHaving
- [ PASSED ] — FirebirdQBTest::testOrHaving
- [ PASSED ] — FirebirdQBTest::testGroupBy