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
Please check this link
So are you able to query your reviews from shell?
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
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
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.
Curriculum Support Engineer