select() public method

Sets the SELECT clause, either a single column, an array or varargs.
public select ( $column )
Ejemplo n.º 1
0
 public function testCount()
 {
     $query = new Query();
     $query->select('firstname')->from('user')->where('lastname=?', 'Castle');
     $this->assertSame(1, $query->count());
 }