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


84
85
86
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 84

def algorithm
  @algorithm
end

#if_not_existsObject

Returns the value of attribute if_not_exists

Returns:

  • (Object)

    the current value of if_not_exists


84
85
86
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 84

def if_not_exists
  @if_not_exists
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index


84
85
86
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 84

def index
  @index
end