Class: Neo4j::Schema::ExactIndexOperation
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/neo4j/schema/operation.rb', line 66
def self.incompatible_operation_classes
[UniqueConstraintOperation]
end
|
Instance Method Details
#exist? ⇒ Boolean
74
75
76
|
# File 'lib/neo4j/schema/operation.rb', line 74
def exist?
label.index?(property)
end
|
#type ⇒ Object
70
71
72
|
# File 'lib/neo4j/schema/operation.rb', line 70
def type
'index'
end
|