I wish to run a query for a selection of nodes, to find every property that has a fake null value and just remove it. So for example I have data where some property keys, like 'fax' and 'postalCode', have been assigned the value 'NULL'. I want to completely remove each such key/value pair so that the value will actually be null as in no value assigned to that key on this node".
I found this article where a simple technique worked a few years ago but seems to no longer work today: Neo4j Cypher update node dynamic properties - Stack Overflow
In my attempt here, you can see that I am able to locate and express which keys for which nodes need to be removed or nullified...
...But if I uncomment that SET line, it fails due to a syntax error at the square brackets.
Is there a way to achive this in a fully dynamic manner? I have not explored apoc yet but hoping apoc is not necessary.
And by the way, this FOREACH fails with the exact same error.
It seems I *can* dynamically name the keys for display purposes but not for updates.