Data\SimpleQuery: implement column handling

We want SimpleQuery to be able to run standalone
This commit is contained in:
Thomas Gelf 2014-06-06 05:49:39 +00:00
parent 4b8e09b12a
commit d44a87717d
1 changed files with 10 additions and 1 deletions

View File

@ -309,5 +309,14 @@ abstract class SimpleQuery implements QueryInterface, Queryable
* *
* @return self * @return self
*/ */
abstract public function columns(array $columns); public function columns(array $columns)
{
$this->columns = $columns;
return $this;
}
public function getColumns()
{
return $this->columns;
}
} }