Most voted "pymongo" questions
9 questions
Sort by count of
-
1
votes1
answer36
viewsQuery in Embedded Document
I’m trying to make a query to return only bank 1 investments that are not savings. How do I do? I have tried several ways and it has not worked so far. I followed the following query:…
-
1
votes1
answer229
viewsHow is the pymongo connection established?
I’m building a program that scans a database every minute, and if some conditions are met, the program makes several requests via Apis and talks to Mongodb to process and save the data. It is very…
-
1
votes1
answer174
viewsQuery in array with mongodb
Good afternoon friends, I searched how to make a find inside an array in mongodb, looked at the documentation and so far in the forum and got no answer for my doubt. my array it does not contain…
-
0
votes0
answers38
viewsMongodb query optimization for large collection with large documents
I am using Pymongo with Flask and would like to know how to optimize a query as I am filtering within a large collection (2947 documents) with large documents. This is the structure of the…
-
0
votes0
answers68
viewsDocker Compose - pymongo - server_type:Unknown
I want to place my application in TWO Docker containers. One with mongodb (official image) and one with the Ubuntu image, which runs a series of scripts to populate the database. I’m having trouble…
-
0
votes1
answer33
viewsMake a query with pymongo filtering by a string ignoring uppercase and minuscule letters
I need to make a query in a database in Mongodb using the pymongo library in python, the query I am making is as follows: dbCliente.find({"nome": "carlos"}) I want to return the client whose name is…
-
0
votes0
answers14
viewsUsing the getColletion function in Pymongo
some can help me with the following problem? Inside mongoDB, the colletion was created with space, example: "Mkt pipe". mongoDB allowed to do this kind of thing. I created the following route to…
-
-1
votes1
answer641
viewsHow to search all elements of an array in Mongodb
I have a Mongodb document as an example: { "_id": "andresm", "username": "Andre Salesmo", "carros": [ {"marca": "ferrari", "tipo": "coupe", "preco": "850000.00", "data_compra": "22/01/2015",…
-
-3
votes1
answer49
viewsHow to organize the output that Python returns in the Pymongo module?
I am trying to return database and more functions. Ex: mongodb = MongoClient(args.ip, int(porta)) database = mongodb.list_database_names() print (database) But when the answer comes back, it comes…