if (Meteor.isServer) {
db.counts.findAndModify = db.counts.rawCollection().findAndModify.bind(db.counts.rawCollection());
db.counts.update = db.counts.rawCollection().update.bind(db.counts.rawCollection());
db.counts.remove = db.counts.rawCollection().remove.bind(db.counts.rawCollection());
}
Hi all,
I have the above code in my app header. THe findAndModify operation definition says it “findAndModify” does not exist??? The other two are ok…
Did something happen in mongo? Or am I throughly confused? Or…
Thansk
Greg