method

indexes

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: SchemaCache
indexes(connection, table_name) public

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 363
      def indexes(connection, table_name)
        @indexes.fetch(table_name) do
          if data_source_exists?(connection, table_name)
            @indexes[deep_deduplicate(table_name)] = deep_deduplicate(connection.indexes(table_name))
          else
            []
          end
        end
      end
Register or log in to add new notes.