Include or flag nodes seen more than once / duplicates when traversing with $graphLookup
When traversing a graph with $graphLookup, we suppress duplicates (in cases of cycles). It would be useful to have an option to include a flag indicating a node that caused the traversal to stop due to duplication.
2
votes
Mary
shared this idea
-
David Blado commented
Having this capability would remove a lot of post processing from $graphLookup output.
There is a Jira ticket for this already @ https://jira.mongodb.org/browse/SERVER-26294