Neo4j Delete ClauseDELETE clause is used to delete a node or a relationship in a Neo4j database. DELETE all Nodes and RelationshipsUse the following query to delete all the nodes and the relationships in the database: Example: Output: Delete a particular NodeIf you want to delete a specific node then you have to specify the details of the node in the place of "n" in the above query. Syntax: Example: First create a node "Dravid" in the Neo4j database as following: Output: Now delete the above created node using the DELETE clause. Output: Next TopicNeo4j String Functions |