Clauses

The openCypher language enables users to perform standard database operations by using the following clauses:

  • MATCH, which searches for patterns;

  • WHERE, for filtering the matched data;

  • RETURN, for defining what will be presented to the user in the result set;

  • UNION and UNION ALL for combining results from multiple queries;

  • CREATE, for creating new nodes and edges;

  • SET, for adding new or updating existing labels and properties;

  • DELETE, for deleting nodes and edges;

  • REMOVE, for removing labels and properties;

  • MERGE, for creating patterns if they do not exist;

  • WITH, for combining multiple reads and writes.