How soon will the upsert command be implemented in Meteor?
And, what is the best way to do the same thing in the mean time?
Something like this is what I\'m
If you really want to do that, you can use the mongodb connection directly: MongoInternals.defaultRemoteCollectionDriver().mongo.db.collection('myCollection').update(query, update, {upsert: true}). Of course this connection is not documented so there is a chance that it can be changed in the future.