instance method
indexes
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
indexes(table_name)
No documentation comment.
Parameters
-
table_namereq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 129
def indexes(table_name)
@indexes.fetch(table_name) do
@indexes[deep_deduplicate(table_name)] = deep_deduplicate(connection.indexes(table_name))
end
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 129
· View on GitHub
· Improve this page
· Find usages on GitHub