Mismatch for $out API between VS Code MongoDB code snippet and official docs


I’m using MongoDB VS Code extension, and the snippet provided for $out aggregation stage is different than the official docs.

Here’s the code snippet produced:

Could you please explain why they are different?

Hi @Omer_Toraman1, thank you for reporting that! There are 2 versions of $out: the normal one and the Atlas Data Lake one. It seems that in the extension we are using the snippet for Atlas Data Lake while we should either use the other one or make them both available. We’ll find a solution for that.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.