A.12.5.2 Dropping a Property Graph Using the Python Client
You can drop a property graph using the DROP PROPERTY GRAPH
statement in Python.
Dropping a Property Graph Using the Python Client
- Define and execute the
DROP PROPERTY GRAPH
statement as shown:>>> pgql = "DROP PROPERTY GRAPH <graph_name>"
where <graph_name> is the name of the graph.
>>> pgql_statement.execute(pgql)
The graph gets dropped.
Parent topic: Using the Python Client to Execute PGQL Queries