apoc.text.toCypher
Function
apoc.text.toCypher(value Any, config Map<String, Any>)
- converts the given value to a Cypher property string.
Usage Examples
RETURN apoc.text.toCypher("Neo4j") AS output;
output |
---|
"'Neo4j'" |
RETURN apoc.text.toCypher({key: "Value"}) AS output;
output |
---|
"{key:'Value'}" |
CREATE (p:Person) RETURN apoc.text.toCypher(p) AS output;
output |
---|
"(:Person {})" |
Was this page helpful?