Method: ActiveRecord::ConnectionAdapters::SchemaStatements#indexes

Defined in:
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb

#indexes(table_name) ⇒ Object

Returns an array of indexes for the given table.

Raises:

  • (NotImplementedError)


82
83
84
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb', line 82

def indexes(table_name)
  raise NotImplementedError, "#indexes is not implemented"
end