-2
"_id" : ObjectId("59dc5ef861e3f5ed652aaebd"),
"pat_deta" : {
"pname" : "prabhat",
"age" : 53,
"sex" : "male"
},
"pat_death" : {
"p_d_reason" : "cancer",
"death_time" : "6:00 AM",
"death_date" : "01-may-2011",
"place" : "delhi",
"country" : "india"
}
"_id" : ObjectId("59dc5f2e61e3f5ed652aaebe"),
"pat_deta" : {
"pname" : "ankur",
"age" : 73,
"sex" : "male"
},
"pat_death" : {
"p_d_reason" : "typhoid",
"death_time" : "7:00 AM",
"death_date" : "01-june-2011",
"place" : "noida",
"country" : "india"
}
"_id" : ObjectId("59dc5f7d61e3f5ed652aaebf"),
"pat_deta" : {
"pname" : "arima",
"age" : 29,
"sex" : "female"
},
"pat_death" : {
"p_d_reason" : "blood cancer",
"death_time" : "8:00 AM",
"death_date" : "01-july-2011",
"place" : "hyderabad",
"country" : "india"
}
"_id" : ObjectId("59dc5fe261e3f5ed652aaec0"),
"pat_deta" : {
"pname" : "garima",
"age" : 39,
"sex" : "female"
},
"pat_death" : {
"p_d_reason" : "accident",
"death_time" : "9:00 AM",
"death_date" : "01-aug-2011",
"place" : "chennai",
"country" : "india"
}
如何找到一個人的細節屬於奈如何尋找的人的細節屬於奈
我們可以簡單地說'db.collection( 「dbCollection」)找到({ 「pat_death.place」: 「奈」}。 )' – Harish
感謝男人....現在它的工作...... –