Questions tagged [cypher]

Discover the powerful Neo4j graph query language known as Cypher. To differentiate between encryption ciphers, be sure to utilize the cipher tag. If referring to non-Neo4j graph databases that use "cypher," consider using the opencypher tag for clarity.

Adjust or alter relationship attributes in py2neo

How can I update a relationship property in py2neo or cypher after it has been initially set? In my inventory tracking system, when an item is checked out, the "status" property in the relationship is set to "True". However, I'd like to change this propert ...

Ways to verify if graph.commit(tx) has made changes to records in py2neo

When using the py2neo cursor, it's important to note that the attributes related to writing data can be accessed through cursor.summary() and cursor.stats(). However, it is observed that this dictionary remains consistent both before and after executi ...

Neo4j encounters an error of trying to access properties of an undefined object when the 'get' method is invoked for the second time during the graph update process

In my server setup, I utilize both MongoDB and Neo4j databases. Whenever I update a product record in MongoDB, I also ensure that the corresponding product node and relationship to a category node are updated in Neo4j. To maintain consistency across both d ...

What causes the issue of the 'MERGE' statement in Node.js resulting in the creation of duplicate nodes in Neo4j?

Currently tackling a Node.js project involving the creation of nodes in Neo4j using the 'MERGE' statement. Despite employing 'MERGE' to prevent duplicate nodes, duplicates are still being generated at times. Extensive searches through the Neo4j documentat ...