das Dokument aus dem Sub-Array finden?
Ich habe eine Sammlung mit Dokumenten, die so aussehen:
"awards" : {
"oscars" : [
{"award": "bestAnimatedFeature", "result": "won"},
{"award": "bestMusic", "result": "won"},
{"award": "bestPicture", "result": "nominated"},
{"award": "bestSoundEditing", "result": "nominated"},
{"award": "bestScreenplay", "result": "nominated"}
],
"wins" : 56,
"nominations" : 86,
"text" : "Won 2 Oscars. Another 56 wins and 86 nominations."
}
Welches Abfragedokument würden wir in einem @ verwendfind()
Befehl, um alle Filme im @ zurückzugebmy_collection
Sammlung, die entweder gewonnen oder für das beste Bild nominiert wurde?