Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1045

collection::count() serializes options::count::hint incorrectly

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.3
    • Affects Version/s: None
    • Component/s: Implementation
    • Labels:
      None

      collection::count() incorrectly serializes the hint object in the count request with a field name of "$hint" instead of "hint". When the server receives the incorrect count option "$hint", it is ignored.

      As a result, passing an options::count object to collection::count which has a hint set will have no effect.

            Assignee:
            rassi J Rassi
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: