public select ( $column ) |
public function select($column)
{
$this->_select = $this->_arguments(func_get_args());
return $this;
}
public function testCount() { $query = new Query(); $query->select('firstname')->from('user')->where('lastname=?', 'Castle'); $this->assertSame(1, $query->count()); }