i have this structure:
Groups -> Fields -> Values
and a command g.V().hasLabel('groups').out('fields').out('values')
how can I group these values by fields and by 'groups' vertices?
Thank you
This was answered on the Gremlin Users list by Daniel Kuppitz:
g.V().hasLabel("groups"). group(). by(). by(out("fields"). group(). by(). by(out("values").fold()))