apoc.convert.toStringList
Function APOC Core Deprecated
apoc.convert.toStringList(value) | tries it’s best to convert the value to a list of strings
Usage Examples
return apoc.convert.toStringList([1, "2", 3, "Four"]) AS output;
| Output |
|---|
["1", "2", "3", "Four"] |
|
This function has been deprecated and will be removed in version 5.0. This functionality is replaced by Neo4j’s |
| Input | apoc.convert.toStringList() |
toStringList() |
|---|---|---|
|
|
|
|
|
["true", "false"] |
|
|
|
|
|
|
|
|
|
`"not-a-list"`[1] |
|
Error |
|
|
Error |
Node [1] |
|
Error |
Relationship [1] |
|
Error |
Path |
|
Error |