Chapter 2: The MongoDB Query Language + Atlas Updating Documents: replaceOne()

I have been doing the exact steps which is in the vide, still Its showing errors:

Most likely you are using the wrong database.

Please do not truncate your screen capture. Sometimes we are missing important information.

1 Like

Hi @sid_roy,

This :point_down:

What’s the output of db command ?

1 Like