RNeo4j (version 1.6.4)

clear: Clear the Database

Description

Delete all nodes, relationships, constraints, and indexes from Neo4j.

Usage

clear(graph, input = TRUE)

Arguments

graph
A graph object.
input
A logical constant. If FALSE, do not require user input for confirmation.

Examples

Run this code
## Not run: 
# graph = startGraph("http://localhost:7474/db/data/")
# clear(graph)
# ## End(Not run)

Run the code above in your browser using DataLab