Categories
How to get a value that is in multiple arrays (Pymongo)?
Need to get '18:00' from 'time_to_receive', preferably using the find method
Answer the question
In order to leave comments, you need to log in
Everything is resolved like this
mycol.find({ "time_to_receive.0": { '$elemMatch': {'$eq': '18:00'}}})
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question