I have only one vertex class in my data model--User--with a few properties
(username, first_name, last_name). There is only one edge class as
well--FriendOf. The source of my data requires duplicate records of the
User class. For example, there may be multiple records in the User class
that look like:
username | first_name | last_name
-------------------------------------
bobj | Bob | Jones
The user is linked to another user through the FriendOf class. Since there
are duplicate records in the User class, my data winds up looking something
like this:
bobj----FriendOf----janey
janey----FriendOf----markd
bobj----FriendOf----markd
**How can I write a query that will group all unique users together while
maintaining all of their relationships?**
If I run a common group-by query on the data above, the result looks like:
bobj----FriendOf----janey----FriendOf----markd
I would like my result to look like:
----FriendOf----markd
bobj---| |---FriendOf
----FriendOf----janey
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.