Check the Message property of the Neo4j connection object neo4jconn. The blank Message property indicates a successful connection.
neo4jconn.Message
ans =
[]
Create two nodes in the Neo4j database using the Neo4j database connection. Use the 'Labels' name-value pair argument to specify the Person node label for each node.
Create a relationship between the two nodes using the Neo4j database connection. These nodes represent two colleagues who work together. Specify the relationship type as works with.
Relationship in a Neo4j database, specified as a Neo4jRelation object, Neo4jRelation object array, numeric
scalar, or numeric vector. For a single relationship, use a
Neo4jRelation object or a numeric scalar that contains the
relationship identifier. For multiple relationships, use a
Neo4jRelation object array or a numeric vector that contains an
array of relationship identifiers.