dropLabel: Node Labels

Description Usage Arguments See Also Examples

View source: R/dropLabel.R

Description

Drop the specified label(s) from a node.

Usage

1
dropLabel(node, ..., all = FALSE)

Arguments

node

A node object.

...

A character vector.

all

A logical constant. If TRUE, drop all labels from the node.

See Also

addLabel, getLabel

Examples

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

alice = createNode(graph, "Person", name = "Alice")
bob = createNode(graph, c("Person", "Student"), name = "Bob")

dropLabel(alice, "Person")
dropLabel(bob, all = TRUE)

alice
bob

## End(Not run)

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

Related to dropLabel in RNeo4j...