M
M
magary42015-06-05 13:37:09
MongoDB
magary4, 2015-06-05 13:37:09

Meteorjs How to implement nested collection request via publish?

I have users and messages collections. I need to display a list of users and the number of messages for each user on the page. those. before I do
Meteor.publish("users", function () {
return Meteor.users.find({});
});
it is necessary to make type "nested selection" in the collection messages
PS. collections NOT NESTED

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question