[ad_1]
Try this code :
Pages = new Meteor.Collection("pages");
Meteor.startup(function () {
if(Pages.find().count() === 0){
var pages = JSON.parse(MY_JSON_LIST);
for (page in pages) {
Pages.insert(pages[page]);
}
}
});
[ad_2]
solved how can I read values from a mongodb?