Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我基本上是在尝试创建一个过滤器,只显示拥有多个帖子的帐户。
return tags.find([{owner: this.userId, count: { $min: 1}}]);
它最终什么也没返回。我也尝试使用 .min() 和其他东西。我相信它是一个标准的 Mongo 查询,我想知道是否存在特定于 Meteor 的问题?
标准的 Mongo 查询将使用$gt:
$gt
tags.find({owner: this.userId, count: {$gt: 1}});