apoc.map.fromValues
Function APOC Core
apoc.map.fromValues([key1,value1,key2,value2,…])
Usage Examples
The following creates a map from alternating keys and values in a list:
RETURN apoc.map.fromValues([
"name", "Cristiano Ronaldo",
"age", date("1985-02-05")
]) AS output;
Output |
---|
|
Was this page helpful?