/** * Get SelectQuery builder with pre-populated from tables. * * @param string $columns * @return SelectQuery */ public function select($columns = '*') { return $this->database->select(func_num_args() ? func_get_args() : '*')->from($this->name); }