خرید بک لینک

Vote count: 0

This Meteor client code does not update the documents found as expected. The console.log(res) prints '0' when there are documents to be updated.
Why and how to fix it? Thanks

MyCollection.find({
  class: 'check-filter'
}).forEach((obj) => {
  MyCollecction.update({
    obj
  }, {
    $set: {
      class: ''
    }
  }, (err, res) => {
    if (!err) {
      console.log(res);
    }
  });
});

asked 48 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 5 تير 1395 ساعت: 8:14

صفحه بندی