apoc.convert.toIntList
Function APOC Core Deprecated
apoc.convert.toIntList(value) | tries it’s best to convert the value to a list of integers
Usage Examples
Convert list of strings to list of integers
return apoc.convert.toIntList(["1", "2", "3"]) AS output;
Output |
---|
[1, 2, 3] |
This function has been deprecated and will be removed in version 5.0. This functionality is replaced by Neo4j’s |
Input | apoc.convert.toIntList() |
toIntegerList() |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"not-a-list" |
|
Error |
{a:"map"} |
|
Error |