CALL apoc.do.when(x is null, 'MERGE (a:Test{name:"~!@#$%^&*()_+|}{\":?></.,\';][=-`" }) RETURN cs1 as cs11') yield value
Throws error:
Failed to invoke procedure `apoc.do.when`: Caused by: org.neo4j.exceptions.SyntaxException: Invalid input '?' (line 1,....)
Same MERGE statement outside the Call works fine. Any way to fix this?
I can create the node w/o that property and set that property outside Call and it works.
I tried Neo4j versions up to 4.1 and matching APOC version