method

extract_table_ref_from_insert_sql

Importance_0
extract_table_ref_from_insert_sql(sql) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 931
        def extract_table_ref_from_insert_sql(sql)
          sql[/into\s("[A-Za-z0-9_."\[\]\s]+"|[A-Za-z0-9_."\[\]]+)\s*/m]
          $1.strip if $1
        end
Register or log in to add new notes.