apoc.text.toCypher
Function APOC Core
apoc.text.toCypher(value, {skipKeys,keepKeys,skipValues,keepValues,skipNull,node,relationship,start,end}) | tries it’s best to convert the 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?