original_string: protected function setDbColumns()
      {
          $connection = $this->model()->eloquent()->getConnectionName();
  
          $this->dbColumns = collect(Schema::connection($connection)->getColumnListing($this->model()->getTable()));
      }
code: protected function setDbColumns()
      {
          $connection = $this->model()->eloquent()->getConnectionName();
  
          $this->dbColumns = collect(Schema::connection($connection)->getColumnListing($this->model()->getTable()));
      }
code_tokens: protected function setDbColumns ( ) { $ connection = $ this -> model ( ) -> eloquent ( ) -> getConnectionName ( ) ; $ this -> dbColumns = collect ( Schema :: connection ( $ connection ) -> getColumnListing ( $ this -> model ( ) -> getTable ( ) ) ) ; }
docstring: Get the table columns for grid.
docstring_tokens: Get the table columns for grid .