There is bug in MongoDB website where they allow us to run update() in website itself. There is difference behavior with the latest version 5.0.2 and the website. please refer below SO link for the same.
There is bug in MongoDB website where they allow us to run update() in website itself. There is difference behavior with the latest version 5.0.2 and the website. please refer below SO link for the same.