[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: |
|
| 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 |
| 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 |
| Comment by Yakov Markovitch [ 02/Nov/11 ] |
|
Created a valid pull request |
| Comment by Yakov Markovitch [ 27/Oct/11 ] |
|
There is a pull request https://github.com/ymarkovitch/mongo/pull/2 |