This section addresses basic examples of the following mutations:

  • create - create nodes, and recursively create or connect further nodes in the graph.

  • update - update nodes, and recursively perform any operations from there.

  • delete - delete nodes, and recursively delete or disconnect further nodes in the graph.

In order to provide the abstractions available in these mutations, the output Cypher can end up being complex. This can result in your database throwing out-of-memory errors depending on its configuration.

If this becomes a regular occurrence, you can adjust the server.memory.heap.max_size parameter in the DBMS settings. If you need to perform major data migrations, it may be best to manually write the necessary Cypher and execute this directly in the database.