drop
Synopsis
system.graph('graph_name').[ifExists()].drop()
Description
Drop an existing graph using this command. All data and schema are lost. For better performance, truncate a graph before dropping it.
Examples
Drop a graph.
gremlin> system.graph('FridgeItem').drop()
The resulting list:
==>null
Drop an existing graph if it exists.
gremlin> system.graph('FridgeSensors').ifExists().drop()
The resulting list:
==>null