drop

How to drop a graph.

Synopsis

system.graph('graph_name').[ifExists()].drop()

Description

Drop an existing graph using this command. All data and schema will be lost.

Examples

Drop a graph.
system.graph('FridgeItem').drop()
The resulting list:
==>OK
Drop an existing graph if it exists.
system.graph('FridgeSensors').ifExists().drop()
The resulting list:
==>null