Datastax using nested optional query and get the number of edges associated to each vertex in the path

20 views
Skip to first unread message

Sara

unread,
Sep 26, 2016, 2:45:40 PM9/26/16
to Gremlin-users
hello,



()g.V(ids).project("v","degree").by().by(bothE().count()).optional(...somequery2...project("v","degree").by().by(bothE().count()).optional(..somequery3...project("v","degree").by().by(bothE().count()))  ).path

I get an error





Stephen Mallette

unread,
Sep 28, 2016, 1:14:52 PM9/28/16
to Gremlin-users
I don't think anyone can help you on this without additional details. A small sample graph that can be pasted into a Gremlin Console session? A fully failing traversal with an error message/stack trace? A more detailed description of the problem? 

--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/18f97cc8-7514-45eb-8a3e-8a2dd3de86bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages