Class: ActiveRecord::ConnectionAdapters::IndexDefinition
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::ConnectionAdapters::IndexDefinition
- Defined in:
- 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.
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#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.
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def columns @columns end |
#comment ⇒ Object
Returns the value of attribute comment
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def comment @comment end |
#lengths ⇒ Object
Returns the value of attribute lengths
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def lengths @lengths end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def name @name end |
#orders ⇒ Object
Returns the value of attribute orders
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def orders @orders end |
#table ⇒ Object
Returns the value of attribute table
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def table @table end |
#type ⇒ Object
Returns the value of attribute type
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def type @type end |
#unique ⇒ Object
Returns the value of attribute unique
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def unique @unique end |
#using ⇒ Object
Returns the value of attribute using
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def using @using end |
#where ⇒ Object
Returns the value of attribute where
6 7 8 |
# File 'lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 6 def where @where end |