@@ -144,14 +144,38 @@ MongoDB 6.0 introduces the following aggregation operators:
144
144
Change Streams
145
145
--------------
146
146
147
+ Optimized Change Streams
148
+ ~~~~~~~~~~~~~~~~~~~~~~~~
149
+
147
150
.. |change-streams| replace:: :ref:`change streams <changeStreams>`
148
151
149
152
.. include:: /includes/change-streams-optimization.rst
150
153
154
+
155
+ ``wallTime`` Change Stream Output Field
156
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157
+
151
158
Starting in MongoDB 6.0, the :ref:`change stream output
152
159
<change-stream-output>` has a new ``wallTime`` field that contains the
153
160
server date and time of the database operation.
154
161
162
+ Change Streams with Document Pre- and Post-Images
163
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
+
165
+ Starting in MongoDB 6.0, you can use :ref:`change streams
166
+ <change-stream-output>` to output the version of a document before and
167
+ after changes (the document pre- and post-images). For examples, see
168
+ :ref:`db.collection.watch-change-streams-pre-and-post-images-example`.
169
+
170
+ Change Stream Expanded Events
171
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172
+
173
+ Starting in MongoDB 6.0, change streams can show additional
174
+ change events for DDL operations, like creating indexes and dropping
175
+ collections.
176
+
177
+ For more information, see :ref:`Expanded Events <change-streams-expanded-events>`.
178
+
155
179
Cluster Administration
156
180
----------------------
157
181
@@ -664,23 +688,6 @@ Starting in MongoDB 6.0, the :ref:`collStats output <collStats-output>`
664
688
includes the :data:`collStats.numOrphanDocs` field that shows the number of
665
689
:term:`orphaned documents <orphaned document>` in the collection.
666
690
667
- Change Streams with Document Pre- and Post-Images
668
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
669
-
670
- Starting in MongoDB 6.0, you can use :ref:`change streams
671
- <change-stream-output>` to output the version of a document before and
672
- after changes (the document pre- and post-images). For examples, see
673
- :ref:`db.collection.watch-change-streams-pre-and-post-images-example`.
674
-
675
- Change Stream Expanded Events
676
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
677
-
678
- Starting in MongoDB 6.0, change streams can be configured to show additional
679
- change events for DDL operations, like index creation and collection drop.
680
-
681
- For more information, see :ref:`Expanded Events <change-streams-expanded-events>`.
682
-
683
-
684
691
Exclude Embedded Fields in ``serverStatus`` Output
685
692
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
686
693
0 commit comments