[OK]を配列内で検索し、私はカテゴリ{名:「hoytsを」}位置の問題が生じていますがMongoDBの私はMongoDBはJSON/ARRAY 持っているので、
私は{categories.name:"hoyts"}
しようとしていると
は、これが私のあなたがカテゴリを掲載JSONでJSON
{
"_id": ObjectId("4f67da1538fc5d7347000000"),
"categories": {
"id": 1,
"name": "hoyts",
"product-logo": "http: \/\/www.incard.com.au\/newsite\/template\/images\/movieticket\/4cinemas\/hoytstop.png",
"products"▼: {
"0": {
"barcode": "25001",
"name": "GoldClass",
"Price": "12.00",
"CashBack": "2.00"
},
"1": {
"barcode": "25002",
"name": "Weekday",
"Price": "12.00",
"CashBack": "2.00"
},
"2": {
"barcode": "25003",
"name": "Weekend",
"Price": "24.00",
"CashBack": "4.00"
}
}
},
"store_name": "movies",
"1": {
"id": 2,
"name": "village",
"logo": "village.png",
"products": {
"0": {
"barcode": "26001",
"name": "GoldClass",
"Price": "12.00",
"CashBack": "2.00"
},
"1": {
"barcode": "26002",
"name": "Weekday",
"Price": "12.00",
"CashBack": "2.00"
},
"2": {
"barcode": "26003",
"name": "Weekend",
"Price": "24.00",
"CashBack": "4.00"
}
}
}
}
これは 'array()'ですか? – Blacksad
私はホーフトの製品を返すだけです – RussellHarrower