标签: mongodb search meteor
如何在Mongodb和Meteor.js中进行随机搜索,以便结果并不总是以相同的顺序进行?
答案 0 :(得分:1)
您可以使用lodash shuffle之类的:
_.shuffle(CollectionName.find().fetch())