Doc­u­men­ta­tion/Graph Query Language

DELETE

The delete state­ment deletes data from an object spec­i­fied by the where condition.

FROM type_list DELETE [ EMPTY | id ] where_cond
  • Deletes from one or more types option­ally one can give an ‘WHERE’ clause to spec­ify the object that are affected by the deletion.
  • For exam­ple: ‘FROM User DELETE WHERE Name=’Homer’ ’