Relation in Py2neo with Neo4j -
how can end node of relation. example:
rels = graph_db.match(start_node=user, rel_type="is_post_owner")
so how can end nodes of start node user.
regards, samuel
like this:
rels = graph_db.match(start_node=user, rel_type="is_post_owner") end_nodes = [rel.end_node rel in rels]
each relationship returned match
method standard relationship object , can used such.
Comments
Post a Comment