Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4166

Implement operator<< for std::ostream output of mongo::Query objects

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1.0
    • 2.0.1
    • Internal Client
    • None

    Description

      There is no operator<< for std::ostream output of mongo::Query, while there are such operators for both BSONObj and BSONElement. There is no reason why it is so; besides such operator is badly needed for tracing/messages/etc.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            ymarkovitch Yakov Markovitch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: