Relative Content

Tag Archive for pythonmongodbcsvpymongolimit

Python PyMongo does not output all data

I have a problem with the following script, I want to save data from my MongoDB which has about 15K Documents but the .csv file onnly contain 858 lines and then stops automatically and does not continue.
Also only the mac_addresses_results_intermediate.csv is created and not the final result .csv file
PyMongo should not have pagination by default but something is limiting it.
I programm in VSC but I dont think that this the problem.
Here is the full code (without critical information):