mongodb-atlas

How to filter mongodb documents based on objects in array?

MongoDB – How to filter documents based on objects in array Question: I have the following type of documents in my MongoDB database: [ { "_id": { "$oid": "63267309592e38db589c576d" }, "name": "ASOS DESIGN tapered smart shorts in white and navy stripe", "color predictions": [ { "Beige": { "$numberInt": "1" } }, { "Black": { "$numberInt": …

Total answers: 1

connection times out when trying to connect to mongodb atlas with python

connection times out when trying to connect to mongodb atlas with python Question: I’m trying to connect to my mongodb atlas cluster but i keep getting timed out as soon as i try to do something with my db. The db i use was created in mongoshell and also the collection i checked their existence …

Total answers: 3