Class: ActiveRecord::ConnectionAdapters::Mysql2IndexDefinition

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

Overview

:nodoc:

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

- (Object) columns

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



23
24
25
# File 'activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb', line 23

def columns
  @columns
end

- (Object) lengths

Returns the value of attribute lengths

Returns:

  • (Object)

    the current value of lengths



23
24
25
# File 'activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb', line 23

def lengths
  @lengths
end

- (Object) name

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb', line 23

def name
  @name
end

- (Object) table

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



23
24
25
# File 'activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb', line 23

def table
  @table
end

- (Object) unique

Returns the value of attribute unique

Returns:

  • (Object)

    the current value of unique



23
24
25
# File 'activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb', line 23

def unique
  @unique
end