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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello SurrealDB Community!
I'm currently trying to figure out if/how I can select multiple nodes in a graph query.
E.g. Assuming following relationships
Person->likes->Person
Person->knows->Person
I'm trying to get a query result of:
E.g.
Select *, ->knows->(person[*] as knows)->likes->(person[*] as likes) from person:a
I have seen that it is possible to get the IDs of one of the used edges by doing e.g.
However, i have not found a way to resolve the actual entries behind these ID's nor how to nest them.
Is there a way to achieve what I'm trying to do?
Beta Was this translation helpful? Give feedback.
All reactions