You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I've checked the source code and documentation for a solution to my issue but was unable to.
I am working on an app that allow users to have relationships between them.
They can be friends, but also relatives.
I'm managing this by having a "type" attribute on the relationship.
Is there any way, for example, to query a certain Person A and fetch all of their sons/children, or only their friends?
Thank you!
The text was updated successfully, but these errors were encountered:
Unfortunately this is not possible in the current version, and may be worked in the future. For the time being, the only way we work this out is by having two different relationship types (a method per relationship type between the models, or the model and itself). e.g.
(u1)-[:FRIENDS_WITH]->(u2) also have another relationship if both are needed (u1)-[:RELATED_TO]->(2) or (u1)-[:RELATIVE_OF]->(u2)
Hi. I've checked the source code and documentation for a solution to my issue but was unable to.
I am working on an app that allow users to have relationships between them.
They can be friends, but also relatives.
I'm managing this by having a "type" attribute on the relationship.
Is there any way, for example, to query a certain Person A and fetch all of their sons/children, or only their friends?
Thank you!
The text was updated successfully, but these errors were encountered: