lib/class_utils.rb
Deletes the specified vertices and unloads referenced edges from the cache
Deletes the specified vertices and unloads referenced edges from the cache
Deletes the specified vertices and unloads referenced edges from the cache
def delete_vertex *vertex
    create_command =  -> do
      { type: "cmd",
	  language: 'sql',
	  command: "DELETE VERTEX #{vertex.map{|x| x.to_orient }.join(',')} "
		      }
      end
    vertex.each{|v| v.edges.each{| e | remove_record_from_hash e} }
    execute{ create_command[] }
  end
def delete_vertex * vertex create_command = -> do { type : "cmd" , language : 'sql' , command : "DELETE VERTEX #{vertex.map{|x| x.to_orient }.join(',')} " } end vertex . each { | v | v . edges . each { | e | remove_record_from_hash e } } execute { create_command [ ] } end
Deletes the specified vertices and unloads referenced edges from the cache
Deletes the specified vertices and unloads referenced edges from the cache
vertex
<not_specific>