[CXX-2441] Add example of iterating change stream indefinitely Created: 03/Feb/22 Updated: 28/Oct/23 Resolved: 07/Mar/23 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 3.8.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Quarter: | FY24Q1 | ||||||||||||
| Description |
|
Background & Motivation Scope 1. Add a note in the function comments of change_stream::iterator::operator++ 2. Add a note in the function comments of change_stream::iterator::operator* and change_stream::iterator::operator->: 3. Update the example in https://github.com/mongodb/mongo-cxx-driver/blob/master/examples/mongocxx/change_streams.cpp. Change watch_until to resemble the following:
Waiting for a notification or error is the most common use case. |
| Comments |
| Comment by Githook User [ 07/Mar/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
The C++ driver no longer tests with Travis
If there are documents in the locally cached batch, change_stream::begin()
|