【发布时间】:2015-03-01 21:11:46
【问题描述】:
我想在 MongoDB 中删除我的文档的 id。
我会把文件放在下面:
{
"_id" : ObjectId("54f2324671eb13650e8b4569"),
"nome" : "Pr.Ademar Lourenço",
"tweet" : "Jornal Águas Lindas: Prefeito Hildo se reúne com governador Rollemberg e prefeitos do Entorno http://t.co/PtVWIENdO4"
}
我希望你是这样的:
{
"nome" : "Pr.Ademar Lourenço",
"tweet" : "Jornal Águas Lindas: Prefeito Hildo se reúne com governador Rollemberg e prefeitos do Entorno http://t.co/PtVWIENdO4"
}
原因,我将把这个文档导出为 .txt 并从 MongoDB 中处理出来。
【问题讨论】:
-
我想 mu 太短了,但我是 mongoDB 的新手。我不知道怎么做。