public function __construct(\Sharkodlak\FluentDb\Table $table) { parent::__construct($table); $this->builder = $table->getFactory()->getQueryBuilder($this->command, 'FROM', 'WHERE', 'GROUP BY', 'HAVING', 'UNION', 'INTERSECT', 'EXCEPT', 'ORDER BY', 'LIMIT', 'OFFSET'); $this->builder->from(':table'); $this->setupColumns(); }