OrientDB -- is there a way to find out which edge was traversed? -


i've been researching/looking around high , low this, but, not find leads. i'm thinking limitation, but, sure.

scenario (1): in scenario, i've explicitly informed edge i'd traverse through. thus, know attending vpn-101 event.

orientdb {db=event}> select firstname (traverse in('people_attending_event')  (select event name='vpn-101')) @class='people';  0   |null  |mohammed 1   |null  |sed 2   |null  |fob 

scenario (2): in scenario, i'd know vertices associated vpn-101 vertex, therefore used _in() on here. output provides me 3 names, but, there way know specific edges traversed output? in example, have selected firstname, if perform select *, not tell me edges traversed output, provides me attributes associated vertices.

orientdb {db=event}> select firstname (traverse in()  (select event name='vpn-101')) @class='people';  0   |null  |mohammed 1   |null  |sed 2   |null  |fob 

is there can know looking for? appreciate insight or help. thank you.

returns last 3 traversed edge(s) of traverse command:

select traversededge(-1, 3) ( traverse oute(), inv() #34:3232 while $depth <= 10 ) 

for more info, @ documentation: http://orientdb.com/docs/last/sql-functions.html#traversededge.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -