Data\SimpleQuery: implement column handling
We want SimpleQuery to be able to run standalone
This commit is contained in:
parent
4b8e09b12a
commit
d44a87717d
|
@ -309,5 +309,14 @@ abstract class SimpleQuery implements QueryInterface, Queryable
|
|||
*
|
||||
* @return self
|
||||
*/
|
||||
abstract public function columns(array $columns);
|
||||
public function columns(array $columns)
|
||||
{
|
||||
$this->columns = $columns;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getColumns()
|
||||
{
|
||||
return $this->columns;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue