-2

I am looking for some examples for apoc.cypher.doit use cases of all the parameters.

KReddy
  • 3
  • 2

1 Answers1

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