Class: Cequel::Schema::Patch::DropIndex

Inherits:
AbstractChange show all
Defined in:
lib/cequel/schema/patch.rb

Overview

Since:

  • 1.0.0

Instance Attribute Summary collapse

Attributes inherited from AbstractChange

#table

Instance Method Summary collapse

Methods inherited from AbstractChange

#==, #eql?, #inspect

Instance Attribute Details

#index_nameObject (readonly)

Since:

  • 1.0.0



81
82
83
# File 'lib/cequel/schema/patch.rb', line 81

def index_name
  @index_name
end

Instance Method Details

#to_cqlObject

Since:

  • 1.0.0



83
84
85
# File 'lib/cequel/schema/patch.rb', line 83

def to_cql
  %Q|DROP INDEX IF EXISTS "#{index_name}"|
end