Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-25-2022 03:54 PM
Hello all,
I know inserting new data manually is not the prime usage of Neo4j, however, I find myself using the Graphlytic tool for inserting new nodes, and it would be fantastic if there was a way to set up that a property of the data under the same label would be some default, ...
...could work similar way as:
SET (n:labelname) default n.name="untitled"
Then, instead of creating data like:
CREATE (n:labelname{name: 'untitled'})
you could be able to just say:
CREATE (n:labelname)
and the new entry would have the name:"untitled" by default.
Please let me know if there is already a way to do this. As far as I have looked, not.
Thanks
09-25-2022 05:26 PM
Look into apoc triggers
All the sessions of the conference are now available online