Adding or Updating a Movie
2.8 · Challenge

Adding or Updating a Movie

In this challenge, you will use ON MATCH and ON CREATE clauses to add the date and time when Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. are created and updated.

Your task is to create a Full definition for Cypher (opens in a new tab)Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. script which will add createdAt and updatedAt to Movie nodes: