Class: ActiveRecord::ConnectionAdapters::Mysql2IndexDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_record/connection_adapters/mysql2_adapter.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Attribute Details

#columnsObject

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



21
22
23
# File 'lib/active_record/connection_adapters/mysql2_adapter.rb', line 21

def columns
  @columns
end

#lengthsObject

Returns the value of attribute lengths

Returns:

  • (Object)

    the current value of lengths



21
22
23
# File 'lib/active_record/connection_adapters/mysql2_adapter.rb', line 21

def lengths
  @lengths
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



21
22
23
# File 'lib/active_record/connection_adapters/mysql2_adapter.rb', line 21

def name
  @name
end

#tableObject

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



21
22
23
# File 'lib/active_record/connection_adapters/mysql2_adapter.rb', line 21

def table
  @table
end

#uniqueObject

Returns the value of attribute unique

Returns:

  • (Object)

    the current value of unique



21
22
23
# File 'lib/active_record/connection_adapters/mysql2_adapter.rb', line 21

def unique
  @unique
end