Collection count_documents filter default value

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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?).

            Assignee:
            Shane Harvey
            Reporter:
            Austin Scola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: