Chapter 3. Mutating Graph with Cypher

Writing to databases or mutating the underlying data in databases' is one of the important aspects of any Database Management System (DBMS). It provides a structure to your data within the underlying datastore. It is imperative to have a performance-efficient mechanism for mutation, so that your graph database can be available for further querying in the shortest possible time.

Apart from being performance-efficient, we also need to ensure that the mutation/write process follows the following principles of transaction management:

  • Atomicity (all or nothing): Every write is atomic in nature, so that if any part of a transaction fails, the database state is left unchanged
  • Consistency (from one valid state to another) ...

Get Building Web Applications with Python and Neo4j now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.