method

primary_key

rails latest stable - Class: ActiveRecord::ConnectionAdapters::FirebirdAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

primary_key(table_name)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/firebird_adapter.rb, line 603
        def primary_key(table_name)
          if pk_row = index_metadata(table_name, true).to_a.first
            pk_row[2].rstrip.downcase
          end
        end