original_string: protected function shouldSelect(array $columns = ['*'])
      {
          if ($columns === ['*']) {
              $columns = [$this->related->getTable() . '.*'];
          }
  
          return array_merge($columns, $this->aliasedPivotColumns());
      }
code: protected function shouldSelect(array $columns = ['*'])
      {
          if ($columns === ['*']) {
              $columns = [$this->related->getTable() . '.*'];
          }
  
          return array_merge($columns, $this->aliasedPivotColumns());
      }
code_tokens: protected function shouldSelect ( array $ columns = [ '*' ] ) { if ( $ columns === [ '*' ] ) { $ columns = [ $ this -> related -> getTable ( ) . '.*' ] ; } return array_merge ( $ columns , $ this -> aliasedPivotColumns ( ) ) ; }
docstring: Get the select columns for the relation query.
  
  @param array $columns
  
  @return \Mellivora\Database\Eloquent\Relations\BelongsToMany
docstring_tokens: Get the select columns for the relation query .