MinimongoError: Invalid modifier specified $min at MinimongoError (packages/minimongo/minimongo.js:44:1) at packages/minimongo/modify.js:46:1 at Function._.each._.forEach (packages/underscore/underscore.js:113:1) at Function.LocalCollection._modify (packages/minimongo/modify.js:40:1) at simulateUpsertWithInsertedId (packages/mongo/mongo_driver.js:704:21) at MongoConnection._update (packages/mongo/mongo_driver.js:543:7) at MongoConnection.<anonymous> (packages/meteor/helpers.js:118:1) at MongoConnection.(anonymous function) [as update] (packages/mongo/mongo_driver.js:771:49) at [object Object].update (packages/mongo/collection.js:589:29) at repl:1:-47
On the server. I’m trying to use some operators like $min and $max update operators, but apparently Meteor’s mongo implementation is incomplete? Using
rawCollection() solves this, but I would rather use Meteor exposed methods.