I am looking for some examples for apoc.cypher.doit
use cases of all the parameters.
Asked
Active
Viewed 219 times
-2

KReddy
- 3
- 2
-
Please, give more context to your question. – Oleg Kurbatov Nov 19 '21 at 16:23
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Nov 19 '21 at 16:23
1 Answers
1
There is an example in the docs - https://neo4j.com/labs/apoc/4.2/overview/apoc.cypher/apoc.cypher.doIt/
(copying it here for reference)
MATCH (node)
WITH node, labels(node)[0] AS label
CALL apoc.cypher.doIt(
"WITH $node AS node
REMOVE node:" + label + "\n" +
"SET node:" + apoc.text.capitalize(toLower(label)) + "\n" +
"RETURN node",
{node: node})
YIELD value
RETURN value;

aldrin
- 4,482
- 1
- 33
- 50
-
I just see a single use case scenario and I couldn't get much from it.. is there any other link for multiple scenarios. – KReddy Jan 16 '22 at 06:00
-
Best to try it for your use case and see what issues you have and update the question accordingly. It is hard for us to understand what you intend to do with it. A real use case would be very useful – aldrin Jan 16 '22 at 12:30