Query nested documents mongodb with python pymongo

I did
{"samples.id13.$": 1 } and now prints the right result!Thank you!

1 Like