Review collecion in MongoDB Compass

I have loaded the JS file in shell and it worked.But how do i load review collection in Compass along with movieDetails?Even after running insert command,I can’t see review collection in compass

Please make sure you are connected to the correct cluster
Try to switch between collections,DBs.You should be able to see the newly loaded data
I have read in a recent post it is known issue(not refreshing after load)

From compass also you should be able to load.I have never used it

I executed the query correctly.But still,can’t see the review collection in compass.

Please check this link

Deleting Documents, Compass: I needed to reconnect after adding a new Collection

So are you able to query your reviews from shell?

Yes, through i can the review collection.
But, can’t see them in Compass.

You connected to wrong cluster
Please check again
Your shell connection string is cluster0-shard-00-00-pkzxc.mongodb.net
and your compass string is cluster0-shard-00-00-hzjcd.mongodb.net
That is the reason you are not seeing the reviews

Hi @Rahul_14779,

As @Ramachandra_37567 has mentioned, you are connected to two different clusters.

You are loading your data into this cluster cluster0-shard-00-00-pkzxc.mongodb.net. However, In compass you are connected to this cluster cluster0-shard-00-00-hzjcd.mongodb.net.

Please make sure you are connecting to the same cluster from Compass as well.

Hope it helps!

If you still have any query then please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer