Method: Pacer::PacerGraph::KeyIndices#drop_key_index
- Defined in:
- lib/pacer/graph/pacer_graph.rb
#drop_key_index(name, type = :vertex) ⇒ Object
383 384 385 386 387 388 389 390 391 |
# File 'lib/pacer/graph/pacer_graph.rb', line 383 def drop_key_index(name, type = :vertex) if features.supportsKeyIndices if element_type(type) == :vertex and features.supportsVertexKeyIndex blueprints_graph.dropKeyIndex name.to_s, index_class(:vertex) elsif element_type(type) == :edge and features.supportsEdgeKeyIndex blueprints_graph.createKeyIndex name.to_s, index_class(:edge) end end end |