original_string: public function insertUsing(array $columns, $query)
      {
          [$sql, $bindings] = $this->createSub($query);
  
          return $this->connection->insert(
              $this->grammar->compileInsertUsing($this, $columns, $sql),
              $this->cleanBindings($bindings)
          );
      }
code: public function insertUsing(array $columns, $query)
      {
          [$sql, $bindings] = $this->createSub($query);
  
          return $this->connection->insert(
              $this->grammar->compileInsertUsing($this, $columns, $sql),
              $this->cleanBindings($bindings)
          );
      }
code_tokens: public function insertUsing ( array $ columns , $ query ) { [ $ sql , $ bindings ] = $ this -> createSub ( $ query ) ; return $ this -> connection -> insert ( $ this -> grammar -> compileInsertUsing ( $ this , $ columns , $ sql ) , $ this -> cleanBindings ( $ bindings ) ) ; }
docstring: Insert new records into the table using a subquery.
  
  @param  array  $columns
  @param  \Closure|\Illuminate\Database\Query\Builder|string  $query
  @return bool
docstring_tokens: Insert new records into the table using a subquery .