Hello I just create skeleton meteor js application and write the following code in main js file:
People = new Meteor.Collection("people");
People.insert({name: 'test'});
console.log(People.find().fetch());
I reload the page and record was inserted in mongodb and I see it in mongodb command line but when I try to fetch result from database receive empty array ?