Whether to prefix the SELECT clause with DISTINCT
public distinct ( $value = true ) |
public function testDistinctColumn() { $query = new Query(); $query->distinct()->select('userid')->from('user'); $this->assertEquals('SELECT DISTINCT userid FROM user', $query->toSql()); }