apoc.map.fromValues
Function
apoc.map.fromValues(values [Any])
- creates a map from the alternating keys and values in the given list.
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?