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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -