Neo4j-PHP-OGM
Neo4j-PHP-OGM copied to clipboard
Non-directional Relationship
How can I create non-directional relationship using OGM?
Thanks,
Unfortunately, Neo4J does not support non-directional relationships. From the docs:
As relationships are always directed, they can be viewed as outgoing or incoming relative to a node...
and
While relationships always have a direction, you can ignore the direction where it is not useful in your application.
You can read more about relationships here.