Orientdb 3.x how to use predicate in traverse


#1

The docs mention predicate, but there is no description of how to use it. I’m interested in returning a subtree of data and to ignore links out-of the subtree. My best guess for how to do this is to return false for those classes that I do not want to traverse.

How do I do this with ‘Travserse’? How is predicate used?