Is it Mongo.Collection or Meteor.Collection?

Ciro Santilli 包子露宪 六四事件 法轮功rashadb提出了一个问题:Is it Mongo.Collection or Meteor.Collection?,或许与您遇到的问题类似。

回答者David Weldon给出了该问题的处理方式:

Meteor.Collection was renamed Mongo.Collection in 0.9.1. The change is currently backward compatible, however you should switch to using Mongo.Collection for any new projects. It looks like the docs have mostly been updated except for the wording in the Data and security section.

希望本文对你有帮助,欢迎支持JavaScript中文网


公众号

欢迎 JavaScript 爱好者