original_string: protected function buildSelect()
      {
          $selects = [];
          foreach ($this->select as $select) {
              $shouldBeQuoted = true;
  
              // Check our list of nonQuoteStrings to see if we should quote or not.
              foreach ($this->nonQuoteStrings as $nonQuoteString) {
                  if (strpos(strtolower($select), $nonQuoteString) !== false) {
                      $shouldBeQuoted = false;
                      break;
                  }
              }
  
              if ($shouldBeQuoted) {
                  $selects[] = $this->getQuotedTableName() . '.' . $this->quoteIdentifier($select);
              } else {
                  $selects[] = $select;
              }
          }
          return 'SELECT ' . implode(', ', $selects);
      }
code: protected function buildSelect()
      {
          $selects = [];
          foreach ($this->select as $select) {
              $shouldBeQuoted = true;
  
              // Check our list of nonQuoteStrings to see if we should quote or not.
              foreach ($this->nonQuoteStrings as $nonQuoteString) {
                  if (strpos(strtolower($select), $nonQuoteString) !== false) {
                      $shouldBeQuoted = false;
                      break;
                  }
              }
  
              if ($shouldBeQuoted) {
                  $selects[] = $this->getQuotedTableName() . '.' . $this->quoteIdentifier($select);
              } else {
                  $selects[] = $select;
              }
          }
          return 'SELECT ' . implode(', ', $selects);
      }
code_tokens: protected function buildSelect ( ) { $ selects = [ ] ; foreach ( $ this -> select as $ select ) { $ shouldBeQuoted = true ; // Check our list of nonQuoteStrings to see if we should quote or not. foreach ( $ this -> nonQuoteStrings as $ nonQuoteString ) { if ( strpos ( strtolower ( $ select ) , $ nonQuoteString ) !== false ) { $ shouldBeQuoted = false ; break ; } } if ( $ shouldBeQuoted ) { $ selects [ ] = $ this -> getQuotedTableName ( ) . '.' . $ this -> quoteIdentifier ( $ select ) ; } else { $ selects [ ] = $ select ; } } return 'SELECT ' . implode ( ', ' , $ selects ) ; }
docstring: Build and return the select string.
  
  @return string
docstring_tokens: Build and return the select string .