I am new to node js and mongo db. I have build a small web application using mongoose, express, node js by following a tutorial.
The connection between mongodb and mongoose is
mongoose.connect('mongodb://localhost/Company');
I want to check all the information of 'Company' db using terminal. I tried to go to mongo terminal and check for company db but there was no such db present. Although I can edit, add or check existing data in browser but I'm unable to see the same database information the same via terminal Any help would be appreciated. Thanks.
via Aurora
No comments:
Post a Comment