-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.3.1
-
Component/s: Docs
-
None
-
Environment:Ubuntu 19.10.
Python3.
I'm trying to fetch results from an aggregate operation, using this syntax:
list(db.seller.aggregate(pipeline))
** however i've not gotten any result. Also i tried using syntax specified in documentation
(async for and yield) , but it didn't also work.
Using list shows this : 'AsyncIOMotorLatentCommandCursor' object is not iterable
What's the correct way to iterate over this cursor?