We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59ae31 commit e7c8c91Copy full SHA for e7c8c91
source/includes/code-examples/change-streams/change-streams.cs
@@ -78,7 +78,7 @@ await cursor.ForEachAsync(change =>
78
{
79
foreach (var change in cursor.ToEnumerable())
80
81
- Console.WriteLine(changeFullDocument.ToBsonDocument());
+ Console.WriteLine(change.FullDocument.ToBsonDocument());
82
}
83
84
// end-change-stream-post-image
@@ -95,6 +95,6 @@ await cursor.ForEachAsync(change =>
95
using var cursor = await _restaurantsCollection.WatchAsync(pipeline, options);
96
await cursor.ForEachAsync(change =>
97
98
99
});
100
// end-change-stream-post-image-async
0 commit comments