我有一个名为"用户"的MongoDb集合。具有以下结构:
{
"_id" : ObjectId("akk34kt6"),
"email" : "mymail@mail.com",
"lastName" : "MyLastName",
"firstName" : "MyFirstName",
"password" : "password",
"admin" : true
}
我想改变
" _id" :ObjectId(" akk34kt6")
到
" _id" :" akk34kt6"
每条记录。我怎么能从Mongo Shell做到这一点?