I understand that a subscription is a way to transfer records to a collection on the client side, from this message and others ...
However, for this post , you can have several signatures that come in one collection.
Meteor.publish('posts-current-user', function publishFunction() {
return BlogPosts.find({author: this.userId}, {sort: {date: -1}, limit: 10});
}
Meteor.publish('posts-by-user', function publishFunction(who) {
return BlogPosts.find({authorId: who._id}, {sort: {date: -1}, limit: 10});
}
Meteor.subscribe('posts-current-user');
Meteor.subscribe('posts-by-user', someUser);
Now - I got my records through two different subscriptions, can I use the subscription to go to the records that she pulled out? Or should I complete my collection? What is the best practice for sharing this request between client and server?
, - , Meteor.subscribe , , , , . , - , , .