Hi Meteor newbie here.
As I am prototyping an app, I get issues accessing a remote database on the client side of my app. More specifically, I run meteor MONGO_URL="mongodb://__id__:__pwd__@__address__.mlab.com:21010/meteor" meteor
and have in a public folder the following :
Collection = new Mongo.Collection("collection");
console.log(Collection.find().count());
which yields the correct number in the meteor shell and 0 in my browser. Now I have seen here that the cause might a
lag between the client starting and the data being published
However, when I try console.log(Collection.find().count())
in my browser console, I get that same 0.
For the record, I have left autopublish
and insecure
untouched.
Would be glad to here any recommendations!