instance method
indexes
Ruby on Rails 7.1.6
Since v7.1.6Signature
indexes(connection, table_name)
No documentation comment.
Parameters
-
connectionreq -
table_namereq
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 65
def indexes(connection, table_name)
cache(connection).indexes(connection, table_name)
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 65
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::SchemaReflection