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 1251
        def extract_table_ref_from_insert_sql(sql)
          sql[/into\s+([^\(]*).*values\s*\(/]
          $1.strip if $1
        end
Register or log in to add new notes.