Skip to content
Discussion options

You must be logged in to vote

Hi,

thanks for the sponsoring.

As far as I can see it, every operator that does projections with 'By' will only ever consider the first value on the traversal. If you need to project to all property values, try aggregating (collecting, folding, you name it), like ....By(__ => __.Values(x => x.SomeProperty).Fold()).

More info on the Gremlin fold-step: https://tinkerpop.apache.org/docs/current/reference/#fold-step

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@navilan
Comment options

Answer selected by navilan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants