selectDistinct() public static méthode

public static selectDistinct ( $selectColumns = null )
Exemple #1
0
 /**
  * @test
  */
 public function shouldCreateSelectDistinctQuery()
 {
     // when
     $query = Query::selectDistinct();
     // then
     $this->assertEquals(QueryType::$SELECT, $query->type);
     $this->assertTrue($query->distinct);
 }