Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

DELETE

Use DELETE queries to remove data from a User’s Semantic Graph.

Syntax

DELETE > Place ID 'ae1f8211-b7eb-4d8e-bb06-cfc240c0f068' BEEN:Visit Me
DELETE > Place ID 'ae1f8211-b7eb-4d8e-bb06-cfc240c0f068'

Rules

  • DELETE queries MUST reference a Node by its id.

Behaviour

  • If a query ONLY defines a Node, the Node will be deleted
  • If the query defines a Relation, ONLY the Relation WILL be deleted, not the Nodes involved in the relation.

Response

  • DELETE queries WILL return Nodes and Relations that have been deleted