ingraph
ingraph copied to clipboard
Compile DML operators
- [x]
CREATE - [x]
DELETE - [x]
DETACH DELETE - [ ]
REMOVE - [ ]
SET - ~
MERGE~
Wow, SET has some depth to it. [Grammar] [Docs]
SET n.surname = 'Taylor'
SET n.name = NULL
SET at = pn // copies attribute sets
SET n.surname = $surname
SET n = $props
SET n :German
SET n :Swedish:Bossman // space can be omitted
(For the spaces, follow https://github.com/neo4j/neo4j-documentation/pull/124)
REMOVE is a bit simpler. [Grammar] [Docs]
REMOVE andres.age
REMOVE n:German
REMOVE n:German:Swedish
The name Set is prone to clash with the Scala collection Set. I suggest we rename it to SetOp or something similar.