apoc.meta.data.of

Procedure APOC Core

apoc.meta.data.of({graph}, {config}) - examines a subset of the graph to provide a tabular meta information

Signature

apoc.meta.data.of(graph = {} :: ANY?, config = {} :: MAP?) :: (label :: STRING?, property :: STRING?, count :: INTEGER?, unique :: BOOLEAN?, index :: BOOLEAN?, existence :: BOOLEAN?, type :: STRING?, array :: BOOLEAN?, sample :: LIST? OF ANY?, leftCount :: INTEGER?, rightCount :: INTEGER?, left :: INTEGER?, right :: INTEGER?, other :: LIST? OF STRING?, otherLabels :: LIST? OF STRING?, elementType :: STRING?)

Input parameters

Name Type Default

graph

ANY?

{}

config

MAP?

{}

Output parameters

Name Type

label

STRING?

property

STRING?

count

INTEGER?

unique

BOOLEAN?

index

BOOLEAN?

existence

BOOLEAN?

type

STRING?

array

BOOLEAN?

sample

LIST? OF ANY?

leftCount

INTEGER?

rightCount

INTEGER?

left

INTEGER?

right

INTEGER?

other

LIST? OF STRING?

otherLabels

LIST? OF STRING?

elementType

STRING?

Usage Examples

Type of supported input graphs

Type Description

String

a Cypher query

Virtual Graph

a Virtual Graph returned by apoc.graph.*

Map

a map with two field nodes (a list of nodes, mandatory), relationships (a list of relationships)

If you want more details you can look at apoc.meta.data documentation