class

ActiveRecord::ConnectionAdapters::IndexDefinition

v4.1.8 - Show latest stable - Superclass: Struct.new(:table, :name, :unique, :columns)

Abstract representation of an index definition on a table. Instances of this type are typically created and returned by methods in database adapters. e.g. ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#indexes

Files

  • activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb