简体   繁体   中英

How to get all realtionships between two nodes using neomodel without using cypherquery()

I have a node class defined by -

class Person(StructuredNode):
    attr = StringProperty(unique_index=True)
    name = StringProperty(unique_index=True)

Provided that I have fetched two Person Nodesets using nodes.filter(), Is there a way to fetch all the relations existing between them programmatically using Neomodel libraries without using the cypherquery()?

Well Thanks for well compiled Neomodel documentation, found this can be achieved using neomodel.match.Traversal

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM