Say I have the following Cypher statement:

    MERGE (a:Person {name: {value1}})-[r:KNOWS]->(b:Person {name: {value2}})

Do I need to check for NULL here if one or the other node isn't found (so I 
am assuming it will be NULL)? If a and/or b are NULL is the MERGE (or 
CREATE) smart enough not to create a relationship to NULL?

Thank you.

-- 
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.

Reply via email to