Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2280

Make empty hash optional to count_documents

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.13.0.rc1
    • Affects Version/s: None
    • Component/s: Query

      Currently the driver requires an argument to count_documents.

      For convenience, the driver should allow omitting the argument, defaulting to the empty hash.

            Assignee:
            grace.chong@mongodb.com Grace Chong (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: