Class: ActiveRecord::ConnectionAdapters::CreateIndexDefinition

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

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#algorithmObject

Returns the value of attribute algorithm

Returns:

  • (Object)

    the current value of algorithm



117
118
119
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 117

def algorithm
  @algorithm
end

#if_not_existsObject

Returns the value of attribute if_not_exists

Returns:

  • (Object)

    the current value of if_not_exists



117
118
119
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 117

def if_not_exists
  @if_not_exists
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



117
118
119
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 117

def index
  @index
end