apoc.map.fromPairs
Function APOC Core
apoc.map.fromPairs([[key,value],[key2,value2],…])
Usage Examples
The following creates a map from list of key-value pairs:
RETURN apoc.map.fromPairs([
["name", "Cristiano Ronaldo"],
["age", date("1985-02-05")]
]) AS output;
Output |
---|
|
Was this page helpful?