Hi Laura,
There is perhaps some room for improvement when it comes to GLV translations of many of our examples. I believe the correct translation in this case would be this:
results, err := g.V().HasLabel("tag").
Fold().
As("tags", "count").
Select("tags", "count").
By(__.Range(gremlingo.Scope.Local, 0, 2)).
By(__.Count(gremlingo.Scope.Local)).
ToList()
I hope this helps.
Regards,
Cole Greer
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/f189434b-b458-401d-bc2e-a8d74fd97828n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAHw8bGhtBk4%3Dj34m%3DKa3to83fCzyPzrz600CC6Kf%2B6w1tVc8_A%40mail.gmail.com.