class
ActiveRecord::ConnectionAdapters::IndexDefinition
v8.0.0 -
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::MySQL::SchemaStatements#indexes
Attributes
| [R] | columns |
| [R] | comment |
| [R] | include |
| [R] | lengths |
| [R] | name |
| [R] | nulls_not_distinct |
| [R] | opclasses |
| [R] | orders |
| [R] | table |
| [R] | type |
| [R] | unique |
| [R] | using |
| [R] | valid |
| [R] | where |
Files
- activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb