I was trying to update a _id field of a document in MongoDB.
The following is the command I derived based on my understanding.
>db.MyTestCollection.update({'_id':ObjectId("514ab89124668c0db46feb09")}, {'$set':{'_id':ObjectId("514ab89124668c0db46feb09")}});
Mod on _id not allowed
I am searching for some thing equivalent to MS-SQL command 'SET IDENTITY_INSERT tblName OFF' and it allows any modification on the ID column of the table tblName. So that I can change _id value for my MyTestCollection