My task sounds simple, but I can\'t nail down how to write this... I simply want to find the most recent item inserted into a collection and display it on my meteor app.
I could only get the desired result by doing
let commentsTmp: Comment = Comments.findOne({ parentId: this.currentPost._id }, { sort: { time: -1 } });
with MongoObservable.Collection
MongoObservable.Collection
Hope this will help someone.