To query objects on meteors client-side mongodb implementation, I can use either
MyModel.find();
// produces a lot of attributes, not useful
or
MyModel.find().fetch();
// returns array containing my objects from type 'MyModel', e.g.
// [ { _id: "1", title: "some title", url: "some Url"__proto__: Object }, .. ]
If I don't use fetch, I get a lot of attributes I don't understand and which doesn't seem to be useful for me. I wonder what actually happens when I call the fetch()
method. I was not able to find any docs concerning this.