RNeo4j (version 1.6.4)

getIndex: Indexes

Description

Get all indexes for a given label or for the entire graph database.

Usage

getIndex(graph, label = character())

Arguments

graph
A graph object.
label
A character vector.

Value

A data.frame.

Details

Omitting the label argument returns all indexes in the graph database.

See Also

addIndex, dropIndex

Examples

Run this code
## Not run: 
# graph = startGraph("http://localhost:7474/db/data/")
# clear(graph)
# 
# addIndex(graph, "Person", "status")
# addIndex(graph, "School", "type")
# 
# getIndex(graph, "Person")
# getIndex(graph)
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace