Questions tagged [graphlookup]

MongoDB aggregation operator, Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.

Performs a recursive search on a collection, with options for restricting the search by recursion depth and query filter.

32 questions
0
votes
1 answer

Is there a way to use the graphLookup aggregation pipeline stage for arrays?

I am currently working on an application that uses MongoDB as the data repository. I am mainly concerned about the graphLookup query to establish links between different people, based on what flights they took. My document contains an array field,…
J. Akansha
  • 27
  • 1
  • 9
0
votes
0 answers

MongoDB $graphLookup - is it possible to get the result in a nested document?

I have a tree structure where each document points to its children. Then I would like to perform a $graphLookup in some node, and get the nodes N levels down… But instead of getting the result in a list or array, I would like to get a nested…
João Otero
  • 948
  • 1
  • 15
  • 30
1 2
3