Skip to content

fix change events table styling #6171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions source/reference/change-events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ following table describes each field in the change stream response document:

.. list-table::
:header-rows: 1
:widths: 20 20 60
:widths: 10 20 60

* - Field
- Type
Expand Down Expand Up @@ -163,18 +163,21 @@ following table describes each field in the change stream response document:
This document and its fields only appears if the ``operationType`` is
``update``.

* - ``updateDescription.updatedFields``
* - | ``updateDescription.``
| ``updatedFields``
- document
- A document whose keys correspond to the fields that were modified by the
update operation. The value of each field corresponds to the new
value of those fields, rather than the operation that resulted in the
new value.

* - ``updateDescription.removedFields``
* - | ``updateDescription.``
| ``removedFields``
- array
- An array of fields that were removed by the update operation.

* - ``updateDescription.truncatedArrays``
* - | ``updateDescription.``
| ``truncatedArrays``
- array
- An array of documents which record array truncations performed
with pipeline-based updates using one or more of the following
Expand All @@ -190,13 +193,18 @@ following table describes each field in the change stream response document:
If the entire array is replaced, the truncations will be
reported under ``updateDescription.updatedFields``.

* - ``updateDescription.truncatedArrays.field``
* - | ``updateDescription.``
| ``truncatedArrays.``
| ``field``
- string
- The name of the truncated field.

* - ``updateDescription.truncatedArrays.newSize``
* - | ``updateDescription.``
| ``truncatedArrays.``
| ``newSize``
- integer
- The number of elements in the truncated array.

* - ``clusterTime``

- Timestamp
Expand Down