I often find my self in having to wrap the Meteor.Collection in order to get a lookup option. I may have the collection name but currently there isnt a way to resolve the string into a collection?
Would you take a pull request on this feature?
I would simply add a "getter" in collection.js about ln 90 (in the registerStore object)
eg.:
collection: function() {
return self;
}
To make the lookup later:
// getting the "foo" collection
myFooCollection = Meteor.connection._stores['foo'].collection();
Kind regards Morten