Learn R Programming

RNeo4j (version 1.6.4)

getID: Internal IDs

Description

Retrieve the internal ID of a node or relationship object.

Usage

getID(entity)

Arguments

entity
A node or relationship object.

Value

An integer.

Examples

Run this code
## Not run: 
# graph = startGraph("http://localhost:7474/db/data/")
# clear(graph)
# 
# alice = createNode(graph, "Person", name = "Alice")
# getID(alice)
# ## End(Not run)

Run the code above in your browser using DataLab