original_string: protected function _quoteInsert($query)
      {
          list($table, $columns) = $query->clause('insert');
          $table = $this->_driver->quoteIdentifier($table);
          foreach ($columns as &$column) {
              if (is_scalar($column)) {
                  $column = $this->_driver->quoteIdentifier($column);
              }
          }
          $query->insert($columns)->into($table);
      }
code: protected function _quoteInsert($query)
      {
          list($table, $columns) = $query->clause('insert');
          $table = $this->_driver->quoteIdentifier($table);
          foreach ($columns as &$column) {
              if (is_scalar($column)) {
                  $column = $this->_driver->quoteIdentifier($column);
              }
          }
          $query->insert($columns)->into($table);
      }
code_tokens: protected function _quoteInsert ( $ query ) { list ( $ table , $ columns ) = $ query -> clause ( 'insert' ) ; $ table = $ this -> _driver -> quoteIdentifier ( $ table ) ; foreach ( $ columns as & $ column ) { if ( is_scalar ( $ column ) ) { $ column = $ this -> _driver -> quoteIdentifier ( $ column ) ; } } $ query -> insert ( $ columns ) -> into ( $ table ) ; }
docstring: Quotes the table name and columns for an insert query
  
  @param \Cake\Database\Query $query The insert query to quote.
  @return void
docstring_tokens: Quotes the table name and columns for an insert query