Reading MongoDB from Nodejs

I face some peculiar issues,

  • I have created a new collection and inserted some data into that from my Node.JS program but those collection doesn't appear in the mongo console. But when I read data from Node.Js it displays data

  • Also I'm not able to read the existing collections and its data.

Am I missing anything? I'm using mongojs native driver to connect to Mongo.