Vinelab / NeoEloquent

The Neo4j OGM for Laravel
MIT License
633 stars 197 forks source link

Second Degree Relationships #269

Closed AerysL closed 3 years ago

AerysL commented 6 years ago

How would one go about querying second degree relationships? MATCH (a:classA)-[r1:rel1]-(b:classB)-[r2:rel2]->(c:classC) or similar.

With the default Eloquent, one can do hasManyTrough, but I seem to be getting an error when I try it. Of course it is likely I am formatting the query incorrectly, but it seems that NeoEloquent doesn't directly support it.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.