clear: Clear the Database

Description Usage Arguments Examples

View source: R/clear.R

Description

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

Usage

1
clear(graph, input = TRUE)

Arguments

graph

A graph object.

input

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

Examples

1
2
3
4
5
## Not run: 
graph = startGraph("http://localhost:7474/db/data/")
clear(graph)

## End(Not run)

RNeo4j documentation built on May 29, 2017, 4:01 p.m.

Related to clear in RNeo4j...