method

derive_columns_hash_and_deduplicate_values

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: SchemaCache
derive_columns_hash_and_deduplicate_values() 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/schema_cache.rb, line 441
        def derive_columns_hash_and_deduplicate_values
          @columns      = deep_deduplicate(@columns)
          @columns_hash = @columns.transform_values { |columns| columns.index_by(&:name) }
          @primary_keys = deep_deduplicate(@primary_keys)
          @data_sources = deep_deduplicate(@data_sources)
          @indexes      = deep_deduplicate(@indexes)
        end
Register or log in to add new notes.