Closed hijan94 closed 5 years ago
Why only attribute assignments?
Hm, what else? Maybe the title of the issue is a bit confusing. Currently i perform DELETE, CREATE, SET, but as have suggested, it should be DELETE, SET, CREATE. In each of these clauses, all deleted, created, or altered element (nodes, relations, attributes) is included.
@anthonyanjorin the order DELETE, SET, CREATE does not work for green nodes or relations since they are not created at this stage of query execution. Therefore, i can not process any attribute assignments in this order. I would suggest to stay at the DELETE, CREATE, SET ordering or i have to filter all elements in two separat SET clauses depending on if it is an assignment to a green or black element.
Ok - thanks for trying! Let's leave it as it is then. Neo4j seems to be able to handle things properly.
DELETE -> SET -> CREATE