0
具體查詢我有這個集合:在蒙戈
{
"_id" : ObjectId("4f3176d21a8b87fcf14658a6"),
"quiosco_id" : "11111111 ",
"transacciones" : [{
"transaccion_uuid" : "60be5247-6a38-4da2-b7b3-ea1dfaf0293b",
"machine_uuid" : "11111111 ",
"audit" : "146018",
"mti" : "1810",
"direction" : "1",
"monto" : 1.1499999761581421,
"fecha" : "07/02/2012 02:39:14 PM",
"data1" : "181052200000028000001111111111111000000000115"
}, {
"transaccion_uuid" : "adcbda16-dda7-4887-9295-2e47df7520e2",
"machine_uuid" : "11111111 ",
"audit" : "146018",
"mti" : "1810",
"direction" : "2",
"monto" : 1.1499999761581421,
"fecha" : "07/02/2012 02:39:14 PM",
"data1" : "181052200000008000001111111111111000000000115"
}
}
我只需要一個文檔與特定transaccion_uuid。
thnaks爲你的答案,我嘗試了一切,但解決辦法就是你說的。 – user1226237 2012-02-22 18:37:20
@ user1226237:歡迎來到stackoverflow :) – 2012-02-22 19:06:11
@ user1226237請接受一個答案,如果它幫助你。這是在stackoverflow上表示感謝的方式。 – MrTux 2017-01-22 00:08:29