Class: ActiveGraph::Schema::ExactIndexOperation
- Inherits:
-
Operation
- Object
- Operation
- ActiveGraph::Schema::ExactIndexOperation
show all
- Defined in:
- lib/active_graph/schema/operation.rb
Instance Attribute Summary
Attributes inherited from Operation
#label, #options, #property
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Operation
#create!, #default_options, #drop!, #drop_incompatible!, #incompatible_operation_classes, #initialize, #label_object
Class Method Details
.incompatible_operation_classes ⇒ Object
66
67
68
|
# File 'lib/active_graph/schema/operation.rb', line 66
def self.incompatible_operation_classes
[UniqueConstraintOperation]
end
|
Instance Method Details
#exist? ⇒ Boolean
74
75
76
|
# File 'lib/active_graph/schema/operation.rb', line 74
def exist?
label.index?(property)
end
|
#type ⇒ Object
70
71
72
|
# File 'lib/active_graph/schema/operation.rb', line 70
def type
'index'
end
|