apoc.meta.cypher.types

Function APOC Core

apoc.meta.cypher.types(node-relationship-map) - returns a map of keys to types

Signature

apoc.meta.cypher.types(properties :: ANY?) :: (MAP?)

Input parameters

Name Type Default

properties

ANY?

null

Usage Examples

RETURN apoc.meta.cypher.types({
  item1: 2,
  item2: datetime(),
  item3: "Michael"
}) AS output;
Table 1. Results
output

{item2: "DATE_TIME", item1: "INTEGER", item3: "STRING"}