Description Usage Arguments Details Value See Also Examples
View source: R/getConstraint.R
Get all uniqueness constraints for a given label or for the entire graph database.
1 | getConstraint(graph, label = character())
|
graph |
A graph object. |
label |
A character vector. |
Omitting the label
argument returns all uniqueness constraints in the graph database.
A data.frame.
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")
addConstraint(graph, "City", "name")
getConstraint(graph, "Person")
getConstraint(graph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.