Conversion Functions

Sometimes type information gets lost, these functions help you to coerce an "Any" value to the concrete type

Qualified Name Type Release

apoc.convert.toString

apoc.convert.toString(value) | tries it’s best to convert the value to a string

Function

APOC Core

apoc.convert.toMap

apoc.convert.toMap(value) | tries it’s best to convert the value to a map

Function

APOC Core

apoc.convert.toList

apoc.convert.toList(value) | tries it’s best to convert the value to a list

Function

APOC Core

apoc.convert.toBoolean

apoc.convert.toBoolean(value) | tries it’s best to convert the value to a boolean

Function

APOC Core

apoc.convert.toNode

apoc.convert.toNode(value) | tries it’s best to convert the value to a node

Function

APOC Core

apoc.convert.toRelationship

apoc.convert.toRelationship(value) | tries it’s best to convert the value to a relationship

Function

APOC Core

apoc.convert.toSet

apoc.convert.toSet(value) | tries it’s best to convert the value to a set

Function

APOC Core

apoc.convert.toFloat

apoc.convert.toFloat(value) | tries it’s best to convert the value to a float

Function

APOC Core

apoc.convert.toInteger

apoc.convert.toInteger(value) | tries it’s best to convert the value to an integer

Function

APOC Core

apoc.convert.toIntList

apoc.convert.toIntList(value) | tries it’s best to convert the value to a list of integers

Function

APOC Core

apoc.convert.toStringList

apoc.convert.toStringList(value) | tries it’s best to convert the value to a list of strings

Function

APOC Core

apoc.convert.toBooleanList

apoc.convert.toBooleanList(value) | tries it’s best to convert the value to a list of booleans

Function

APOC Core

apoc.convert.toNodeList

apoc.convert.toNodeList(value) | tries it’s best to convert the value to a list of nodes

Function

APOC Core

apoc.convert.toRelationshipList

apoc.convert.toRelationshipList(value) | tries it’s best to convert the value to a list of relationships

Function

APOC Core