apoc.convert.toString
Function APOC Core
apoc.convert.toString(value) | tries it’s best to convert the value to a string
Usage Examples
Convert numeric value to string
RETURN apoc.convert.toString(1) AS output;
Output |
---|
"1" |
Convert boolean value to string
RETURN apoc.convert.toString(true) AS output;
Output |
---|
"true" |
Convert map to string
RETURN apoc.convert.toString({key: "value"}) AS output;
Output |
---|
"{key=value}" |
Was this page helpful?