I have 3 collections
in MongoDB being two lists containing only a unique identifier and in the collection
remaining the unique identifier, first and last name. What I need to do is a query that is ordered by priority: who is in lista1
comes first, then who is in lista2
and lastly what is not only in the 3 field document. Can anyone help me?
UPDATE: joining everything in the same collection is not an option, and in SQL it's done that way link