I am trying to query my database passing as a parameter a string. Some days ago it worked, but suddenly it stopped working. Is there something wrong I am missin
I am trying to query my database passing as a parameter a string. Some days ago it worked, but suddenly it stopped working. Is there something wrong I am missin
I was looking for a solution for storage and retrieval of time series data. As I have mongodb set up already in my project, I searched for a solution with mongo
I'm able to retrieve required value from MongoDB individually and also able to print same values but unable to return all those values to HTML page. When I try
I am trying to connect MongoDB from Atlas. My mongo uri is: mongodb+srv://abc:[email protected]/admin?retryWrites=True My pymongo version is 3.6.1 I h
I'm trying to search in a collection containing firstname and lastname in japanese characters. Somehow there is no result returned even when there is data in th
I'm wondering what's the best approach to deal with unknown types of functions/methods associated with other modules. Note that I'm using strict mode For exampl
Context I have a MongoDB that is backed up every day using the following command mongodump --gzip --numParallelCollections=1 --oplog --archive=/tmp/dump.gz --re
I am using Django + mongoengine I want to update the books (embedded document) count in my Bookscollection document. I want the update query to return the full
I am using pymongo to query for all items in a region (actually it is to query for all venues in a region on a map). I used db.command(SON()) before to search i
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 mongos
I have a documents in MongoDB, one of them looks like this: { "_id" : 100, "name" : "Something", "items" : [ { "item" : 47, "color" : "red"
I have MongoDB documents structured like this: {_id: ObjectId("53d760721423030c7e14266f"), fruit: 'apple', vitamins: [ { _id: 1, name: 'B7',
What I'm trying to acheive I'm trying to fetch users for a certain database. What I did so far I was able to find function to list the databases or create us
I'm currently using: from typing import Type from pymongo.collection import Collection def collection_type_test(example_collection: Type[Collection]) -> lis
I have a MongoDB database and I want to use Flask-PyMongo to work with it in my Flask app. How do I add a database and a collection so I can add user documents