neo4j - Method for linking nodes in time order -


i have existing graph in neo4j. stored event datetime in apoc in node. want create relationships between nodes in time order. (first event)--(second event)--(third event) etc.

is there way programmatically?

yes, can match on nodes, order them event datetime, collect them, use apoc.nodes.link() create desired relationships between them.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -