$merge a replacement for $out?

Hello,

So I notice that $merge has been added to the course since it appeared in mongoDB 4.2.

The question is, does $merge supersede $out, don’t they exist to do the same job?

I just wonder why the $merge functionality didn’t just get added in as a option within $out?

Hi @NeilM,

I would recommend you to go through the following documentation for more details:

Please feel free to reach out if you have any further questions.

Kind Regards,
Sonali