Method: Arango::Graph#destroy

Defined in:
lib/Graph.rb

#destroy(dropCollections: nil) ⇒ Object

DELETE ===



246
247
248
249
250
251
# File 'lib/Graph.rb', line 246

def destroy(dropCollections: nil)
  query = { "dropCollections": dropCollections }
  result = @database.request("DELETE", "_api/gharial/#{@name}", query: query,
    key: :removed)
  return_delete(result)
end