I want to return only the _id
from edges and vertices from the p.path
below.
LET from = (
FOR u IN products
FILTER u.name == 'pagfr21'
RETURN u._id
)
FOR p IN TRAVERSAL(products, productsrelated, from[0], 'outbound',
{minDepth: 0, maxDepth: 3, paths: true})
RETURN p.path