-
Type: Improvement
-
Resolution: Gone away
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
I think it would be convenient if the filter field of AsyncIOMotorCollection.count_documents had a default value.
Example:
count = some_collection.count_documents() # Instead of `count_documents({})`
P.S. I'm not sure if this scope is the right level for this issue (maybe more of a PyMongo issue?).
- related to
-
PYTHON-2853 Document performance implications of using count_documents vs estimated_document_count
- Backlog