Description Usage Arguments Value See Also Examples
For a node or relationship object, delete the named properties or delete all properties.
1 | deleteProp(entity, ..., all = FALSE)
|
entity |
A node or relationship object. |
... |
A character vector. The properties to delete. |
all |
A logical constant. If |
A node or relationship object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
graph = startGraph("http://localhost:7474/db/data/")
clear(graph)
alice = createNode(graph, "Person", name = "Alice", age = 23, status = "Married")
bob = createNode(graph, "Person", name = "Bob", age = 22, status = "Married")
charles = createNode(graph, "Person", name = "Charles", age = 25, status = "Unmarried")
alice = deleteProp(alice, "age")
bob = deleteProp(bob, c("name", "age"))
charles = deleteProp(charles, all = TRUE)
alice
bob
charles
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.