Query\QueryBuilder::distinct
Adds the 'distinct' keyword to a query
Signature
public function distinct()
Returns
- Query_Builder
Defined by Interface
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testSelectDistinct
- [ PASSED ] — PgSQLQBTest::testSelectDistinct
- [ PASSED ] — SQLiteQBTest::testSelectDistinct
- [ PASSED ] — FirebirdQBTest::testSelectDistinct