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

UPDATE

Use UPDATE queries to update data of a User’s Semantic Graph.

Syntax

UPDATE IS:name 'Toto 2' > Person IS:name 'Toto 1'
UPDATE HAS:count '2' > Me DID:Listen Song ID 'ae1f8211-b7eb-4d8e-bb06-cfc240c0f068'

Rules

  • UPDATE queries MUST have meta stage modifiers.

Behaviour

  • UPDATE queries ONLY modify properties
  • UPDATE queries WILL modify Nodes (with the IS keyword) and Relations (with the HAS keyword) matched by the query stage

Response

  • UPDATE queries WILL return Nodes and Relations that have been updated