0

我基本上是在尝试创建一个过滤器,只显示拥有多个帖子的帐户。

return tags.find([{owner: this.userId, count: { $min: 1}}]);

它最终什么也没返回。我也尝试使用 .min() 和其他东西。我相信它是一个标准的 Mongo 查询,我想知道是否存在特定于 Meteor 的问题?

4

1 回答 1

0

标准的 Mongo 查询将使用$gt

tags.find({owner: this.userId, count: {$gt: 1}});
于 2014-06-21T22:50:24.983 回答