Hi @Satyanarayana_Ettamsetty1,

What you describe doesn’t exist.

You could implement this logic in the back end without too much effort if that’s an option.

Another solution that comes to mind would be to use the $unionWith but this would mean that you always look for matching docs in both collections even if there are results in collection1.

If you are using Atlas Online Archive then Data Federation could also help with this use case.

Cheers,
Maxime.

1 Like