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

missing bsoncxx::document::view::empty

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.2.0
    • None
    • API
    • None

    Description

      It would be nice to have a function that checks if the underlying document is empty.

      Without that, the calling code has to compare the returned length() to 5 which is ugly.

      I've implemented it, will submit a PR soon

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            yhager Yuval Hager
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: