dropConstraint: Uniqueness Constraints

Description Usage Arguments See Also Examples

Description

Drop uniqueness constraint(s) for a given label and property key or for the entire graph database.

Usage

1
dropConstraint(graph, label = character(), key = character(), all = FALSE)

Arguments

graph

A graph object.

label

A character string.

key

A character string.

all

A logical constant. If TRUE, drop all constraints in the graph.

See Also

addConstraint, getConstraint

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
graph = startGraph("http://localhost:7474/db/data/")
clear(graph)

addConstraint(graph, "Person", "name")
getConstraint(graph)

dropConstraint(graph, "Person", "name")
getConstraint(graph)

## End(Not run)


Search within the RNeo4j package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.