1 2 3 4 5 6 7
Meteor.publish('people', (limit) => { check(limit, Number); return Users.find({}, { limit, sort: {createdAt: -1}, }); });