Mongo中的meteor数据在哪里?

我正在编写Meteor简单颜色示例截屏 。 通过Chrome JS控制台(video中的1:08)将一些颜色插入数据库之后:

Colors.insert({name: "red"}); Colors.insert({name: "green"}); 

我想看看是否可以在mongo控制台中find相同的数据:

 $ meteor mongo MongoDB shell version: 2.2.1 connecting to: 127.0.0.1:3002/meteor > show dbs local (empty) meteor 0.0625GB > use meteor switched to db meteor > show collections colors) system.indexes > db.colors.find() > 

没有。

为什么那里没有数据?

为什么在“颜色”集合名称后面有一个“)”,是相关的?

这是我的.js文件:

 Colors = new Meteor.Collection("colors)"); if (Meteor.isClient) { Template.colour_list.colors = function() { return Colors.find({}, {sort : {likes: -1, name: 1}}); }; } 

是的,删除你的),然后再试一次…

 Colors = new Meteor.Collection("colors");