Quantcast
Channel: Eureka! » MongoDB
Browsing all 4 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Meteor – Connect to the app local MongoDB in command line

1. Start the meteor app. 2. Open another shell and connect to the app database which is also called meteor. mongo 127.0.0.1:3001/meteor 3. Check if you could find the collections there. show...

View Article



Image may be NSFW.
Clik here to view.

Meteor – High Network IO as it keeps polling MongoDB

I was working on a Meteor project which is connected to a mongoDB hosted on MongoLab. Since it is a sandbox plan, the oplog of the mongoDB instance is not available and in that case the Meteor will...

View Article

Image may be NSFW.
Clik here to view.

Meteor – Connect to external MongoDB

If you start a new Meteor app, it would initialize a local MongoDB instance. If you want to use a remote one. Add the MONGO_URL environmental variable before you start the Meteor app. Ex: MONGO_URL =...

View Article

Image may be NSFW.
Clik here to view.

Meteor – Insert Sample Data if the MongoDB is empty

Say we have a Meteor collection called Student. model.js Student = new Meteor.Collection('student');   So i would like to have some predefined students if the collection is emtpy. So i prepare the...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images