mongodb - How to use $min mongo query in Meteor.js? -
mongodb - How to use $min mongo query in Meteor.js? -
i'm trying create filter displays accounts have more 1 post.
return tags.find([{owner: this.userid, count: { $min: 1}}]);
it ends returning nothing. tried using .min() , other stuff well. believe standard mongo query , wondering if there meteor-specific issue?
the standard mongo query utilize $gt
:
tags.find({owner: this.userid, count: {$gt: 1}});
mongodb meteor minimongo
Comments
Post a Comment