This Meteor client code tries to create selected
fields an sets their values to true, the miniMongo is not being updated.
There are few items in the indexes
array.
How can it be fixed? Thanks
let res = myColMini.update({
index: {
$in: [indexes]
}
}, {
$set: {
selected: true
}
}, {
multi: true
});
console.log(res); //<--- 0