You can use merge If you have indexes or constraints they will be used for the check
Von meinem iPhone gesendet > Am 24.03.2015 um 08:15 schrieb Innovify Agile <[email protected]>: > > Hi all, > > I am working on store facebook data (User details, Likes , Posts, comments , > friends , Family , Events) into neo4j database. > For that we are first getting data from facebook APIs then storing data into > neo4j. > > Here i have attached graph as well. > > Now my problem is how can i check node is exist or not if exist then update > property and not then create not with property and relationship using batch > cypher. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > <download (1).png> -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
