Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-04-2021 02:33 AM
I have a graph where each node has a label (Person
) and attribute foo
which is binary (0,1). Now I want to create a child label i.e. Person:ptype1
for all Person
nodes where the foo attribute is 1.
apoc.create.setLabels - APOC Documentation and apoc.create.addLabels - APOC Documentation seem to be suitable. However, these operations did not seem to materialize the results (and change the graph stored on disk/Neo4j) rather they only dynamically on the fly manipulate the returned result.
How can I also materialize this operation?
Solved! Go to Solution.
07-05-2021 02:00 AM
Actually they should work, can you share the full statement you ran to update your people?
Also it's easier:
MATCH (p:Person) WHERE p.foo = 1 SET p:PType1
07-05-2021 02:00 AM
Actually they should work, can you share the full statement you ran to update your people?
Also it's easier:
MATCH (p:Person) WHERE p.foo = 1 SET p:PType1
All the sessions of the conference are now available online