apoc.refactor.categorize

Procedure APOC Core

apoc.refactor.categorize(sourceKey, type, outgoing, label, targetKey, copiedKeys, batchSize) turn each unique propertyKey into a category node and connect to it

Signature

apoc.refactor.categorize(sourceKey :: STRING?, type :: STRING?, outgoing :: BOOLEAN?, label :: STRING?, targetKey :: STRING?, copiedKeys :: LIST? OF STRING?, batchSize :: INTEGER?) :: VOID

Input parameters

Name Type Default

sourceKey

STRING?

null

type

STRING?

null

outgoing

BOOLEAN?

null

label

STRING?

null

targetKey

STRING?

null

copiedKeys

LIST? OF STRING?

null

batchSize

INTEGER?

null