[SERVER-4166] Implement operator<< for std::ostream output of mongo::Query objects Created: 27/Oct/11  Updated: 11/Jul/16  Resolved: 02/Nov/11

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.0.1
Fix Version/s: 2.1.0

Type: Improvement Priority: Minor - P4
Reporter: Yakov Markovitch Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File 0001-Implement-operator-for-std-ostream-output-for-mongo-.patch    
Participants:

 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.



 Comments   
Comment by auto [ 02/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot', u'email': u'eliot@10gen.com'}

Message: Merge pull request #137 from ymarkovitch/master

Fix for https://jira.mongodb.org/browse/SERVER-4166
Branch: master
https://github.com/mongodb/mongo/commit/967c7cca6e4850d526892faa4f74a3e9a640e563

Comment by auto [ 02/Nov/11 ]

Author:

{u'login': u'erh', u'name': u'Eliot', u'email': u'eliot@10gen.com'}

Message: Merge pull request #137 from ymarkovitch/master

Fix for https://jira.mongodb.org/browse/SERVER-4166
Branch: master
https://github.com/mongodb/mongo/commit/967c7cca6e4850d526892faa4f74a3e9a640e563

Comment by Yakov Markovitch [ 02/Nov/11 ]

Created a valid pull request
https://github.com/mongodb/mongo/pull/137

Comment by Yakov Markovitch [ 27/Oct/11 ]

There is a pull request https://github.com/ymarkovitch/mongo/pull/2

Generated at Thu Feb 08 03:05:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.