0

After I execute:

customer = collection.find(projection= something)

I try to print data present in customer, but rather shows blank. I'm not able to understand why.

Neil Lunn
  • 148,042
  • 36
  • 346
  • 317
  • Possible duplicate of [How to convert a pymongo.cursor.Cursor into a dict?](https://stackoverflow.com/questions/28968660/how-to-convert-a-pymongo-cursor-cursor-into-a-dict) – Neil Lunn Sep 20 '17 at 06:17
  • it might not be able to find the data?? that is why it is blank you need to write proper mongodb query statement read the mongodb query guide – Hamuel Sep 20 '17 at 06:20

0 Answers0