I’m new to orientDB
The graph contains a tree structure (“is_parent”), the leaves of the graph are linearly ordered (">next>").
It is required to write a query, the node identifier is sent to the input, the output requires either the rightmost leaf - the descendant from the node, or the leftmost leaf is the descendant of the incoming node.
Example - rightsql(18:32)=17:34
I’ve been tormented for a week now, I don’t understand how to do this.