Hi everyone,
i am currently using this query to mark all the nodes and relationships in my graph:
CALL apoc.periodic.iterate(
"
cypher runtime=slotted
MATCH (n)-[r]->(m)
RETURN n, r, m
",
"
SET n.fullLoadDelete = 1,
r.fullLoadDelete = 1,
m.fullLoadDelete = 1
", {batchSize: 10000, parallel: false}
);
Is there any apoc procedure to mark it in a faster way while using less memory? Only to add (mark) to all nodes and relationships a property. Then also to delete, the nodes and relationships, with this property. Thanks!