1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# Obtain a Change Stream
## From a Client
@snippet api/mongocxx/examples/change_streams/from_client.cpp Example
## From a Database
@snippet api/mongocxx/examples/change_streams/from_database.cpp Example
## From a Collection
@snippet api/mongocxx/examples/change_streams/from_collection.cpp Example
# Use a Change Stream
## Basic Usage
@snippet api/mongocxx/examples/change_streams/basic.cpp Example
## With Pipeline
@snippet api/mongocxx/examples/change_streams/with_pipeline.cpp Example
|