aggregation-framework

PyMongo – How to query the number of properties in the object

PyMongo – How to query the number of properties in the object Question: I need to retrieve numerical data from hundreds of documents looking like this one: { "_id": "123", "Notes": { "1222": "Something is here" }, "BehavioralData": { "Folder1": { "Sex": "Male", "Age": "22", "Date": "", "ResearchGroup": "", "Institution": "University of Manitoba" }, "MoCA": …

Total answers: 1