Can the operation $inc be used with Collection.updateObject() method
I have tried Collection.updateObject() method to try to increment a field using the $inc operations but it seems not to work. WHy?
Here is the relevant piece of code
Collection.updateObject(dbId, "theCollection", "the object id", {"$inc":{"following":1}}, masterKey);