Db.movies.find().pretty() not working

Was trying to run the command that was shown at the end of the video to display the documents, but nothing is showing. I followed the instructions to the letter, attempted to exit and reconnect but alas to no avail. Would appreciate some assistance, thank you.

I’m talking about the lecture
Chapter 2: The MongoDB Query Language + Atlas
Connecting to Our Class Atlas Cluster from the mongo Shell

Please see the difference in commands

MongoDB Enterprise Cluster0-shard-0:PRIMARY> Db.movies.find().pretty()
2019-05-18T08:44:42.579+0530 E QUERY [js] ReferenceError: Db is not defined :

MongoDB Enterprise Cluster0-shard-0:PRIMARY> db.movies.find().pretty()
“_id” : ObjectId(“58c59c6a99d4ee0af9e0c325”),
“title” : “Carmencita”,