Class: ActiveRecord::ConnectionAdapters::IndexDefinition
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
Overview
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
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#lengths ⇒ Object
Returns the value of attribute lengths.
-
#name ⇒ Object
Returns the value of attribute name.
-
#orders ⇒ Object
Returns the value of attribute orders.
-
#table ⇒ Object
Returns the value of attribute table.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unique ⇒ Object
Returns the value of attribute unique.
-
#using ⇒ Object
Returns the value of attribute using.
-
#where ⇒ Object
Returns the value of attribute where.
Method Summary
Methods inherited from Struct
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def columns @columns end |
#lengths ⇒ Object
Returns the value of attribute lengths
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def lengths @lengths end |
#name ⇒ Object
Returns the value of attribute name
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def name @name end |
#orders ⇒ Object
Returns the value of attribute orders
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def orders @orders end |
#table ⇒ Object
Returns the value of attribute table
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def table @table end |
#type ⇒ Object
Returns the value of attribute type
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def type @type end |
#unique ⇒ Object
Returns the value of attribute unique
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def unique @unique end |
#using ⇒ Object
Returns the value of attribute using
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def using @using end |
#where ⇒ Object
Returns the value of attribute where
11 12 13 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 11 def where @where end |