I've modeled a part of my data like this:
Conversation
/ \
has_participant has_participant
| |
V V
Moderator User
Three types of vertices: Conversation, Moderator, and User, connected by
one type of edge: has_participant
The final goal is to get a structure something along the lines of this:
{
"conversation_name": "...",
"start_time": "...",
"moderator": {
"name": "..."
},
"user": {
"name": "..."
}
}
Is there a way I can fetch the Conversation with its children in a single
query? Or would I have to run multiple selections: one for the
Conversation, one for the Moderator, and one for the User?
Thanks!
--
---
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.