I want update an _id MongoDB of one document. I know it's not a really good pratice. But with some technical reason, I need update it. But If I try to update it I have :
> db.clients.update({'_id':ObjectId("4cc45467c55f4d2d2a000002")}, {'$set':{'_id':ObjectId("4c8a331bda76c559ef000004")}});
Mod on _id not allowed
And the update is not made. How I can really update it ?