Skip to content

Commit 5554daf

Browse files
authored
DOCSP-25351 eol version aggregation v4.4 (#1925)
* DOCSP-25351 merge * DOCSP-25351 Fixes build issues
1 parent 0ca83b9 commit 5554daf

24 files changed

+23
-121
lines changed

source/reference/operator/aggregation/convert.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Definition
2020

2121
.. expression:: $convert
2222

23-
.. versionadded:: 4.0
24-
2523
Converts a value to a specified type.
2624

2725
:expression:`$convert` has the following syntax:

source/reference/operator/aggregation/currentOp.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ Syntax
144144

145145
Defaults to ``true``.
146146

147-
.. versionadded:: 4.0
148-
149147
* - :ref:`localOps <currentOp-stage-localOps>`
150148

151149
- .. _currentOp-stage-localOps:
@@ -163,8 +161,6 @@ Syntax
163161

164162
Defaults to ``false``.
165163

166-
.. versionadded:: 4.0
167-
168164
* - :ref:`backtrace <currentOp-stage-backtrace>`
169165

170166
- .. _currentOp-stage-backtrace:
@@ -201,7 +197,6 @@ Pipeline
201197

202198
- :pipeline:`$currentOp` must be the first stage in the pipeline.
203199

204-
205200
- Pipelines that start with :pipeline:`$currentOp` can only be run on
206201
the ``admin`` database.
207202

@@ -985,17 +980,13 @@ relevant for the operation:
985980
Only present if the operation is part of a multi-document
986981
transaction.
987982

988-
.. versionadded:: 4.0
989-
990983
.. data:: $currentOp.transaction.parameters.txnNumber
991984

992985
The transaction number.
993986

994987
Only present if the operation is part of a multi-document
995988
transaction.
996989

997-
.. versionadded:: 4.0
998-
999990
.. data:: $currentOp.transaction.parameters.autocommit
1000991

1001992
A boolean flag that indicates if autocommit is on for the
@@ -1004,8 +995,6 @@ relevant for the operation:
1004995
Only present if the operation is part of a multi-document
1005996
transaction.
1006997

1007-
.. versionadded:: 4.0.2
1008-
1009998
.. data:: $currentOp.transaction.parameters.readConcern
1010999

10111000
The :ref:`read concern <transactions-read-concern>` for the
@@ -1018,8 +1007,6 @@ relevant for the operation:
10181007
Only present if the operation is part of a multi-document
10191008
transaction.
10201009

1021-
.. versionadded:: 4.0.2
1022-
10231010
.. data:: $currentOp.transaction.globalReadTimestamp
10241011

10251012
The timestamp of the snapshot read by the operations in the
@@ -1053,17 +1040,13 @@ relevant for the operation:
10531040
Instead, :data:`$currentOp.transaction.globalReadTimestamp` is
10541041
returned.
10551042

1056-
.. versionadded:: 4.0.2
1057-
10581043
.. data:: $currentOp.transaction.startWallClockTime
10591044

10601045
The date and time (with time zone) of the transaction start.
10611046

10621047
Only present if the operation is part of a multi-document
10631048
transaction.
10641049

1065-
.. versionadded:: 4.0.2
1066-
10671050
.. data:: $currentOp.transaction.timeOpenMicros
10681051

10691052
The duration, in microseconds, for the transaction.
@@ -1077,8 +1060,6 @@ relevant for the operation:
10771060
Only present if the operation is part of a multi-document
10781061
transaction.
10791062

1080-
.. versionadded:: 4.0.2
1081-
10821063
.. data:: $currentOp.transaction.timeActiveMicros
10831064

10841065
The total amount of time that the transaction has been active;
@@ -1094,8 +1075,6 @@ relevant for the operation:
10941075
Only present if the operation is part of a multi-document
10951076
transaction.
10961077

1097-
.. versionadded:: 4.0.2
1098-
10991078
.. data:: $currentOp.transaction.timeInactiveMicros
11001079

11011080
The total amount of time that the transaction has been
@@ -1181,8 +1160,6 @@ relevant for the operation:
11811160
Only present if the operation is part of a multi-document
11821161
transaction.
11831162

1184-
.. versionadded:: 4.0.2
1185-
11861163

11871164
.. data:: $currentOp.op
11881165

source/reference/operator/aggregation/dateFromParts.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ Definition
190190
:ref:`aggregation-expressions`.
191191

192192
.. |outofrange| replace::
193-
Starting in MongoDB 4.0, if the number specified is outside this
194-
range, :expression:`$dateFromParts` incorporates the difference in
195-
the date calculation. See :ref:`dateFromParts-values` for examples.
193+
If the number specified is outside this range, :expression:`$dateFromParts`
194+
incorporates the difference in the date calculation.
195+
See :ref:`dateFromParts-values` for examples.
196196

197197
.. |outofrange-4.4| replace::
198198
If the number specified is outside this range,
@@ -213,10 +213,10 @@ Starting in MongoDB 4.4, the supported value range for ``year`` and
213213
bound for these values was ``0`` and the supported value range was
214214
``0-9999``.
215215

216-
Starting in MongoDB 4.0, if the value specified for fields other than
217-
``year``, ``isoWeekYear``, and ``timezone`` is outside the valid range,
218-
:expression:`$dateFromParts` carries or subtracts the difference from
219-
other date parts to calculate the date.
216+
If the value specified for fields other than ``year``, ``isoWeekYear``,
217+
and ``timezone`` is outside the valid range, :expression:`$dateFromParts`
218+
carries or subtracts the difference from other date parts to calculate
219+
the date.
220220

221221
Value is Greater than the Range
222222
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/reference/operator/aggregation/dateFromString.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ Definition
6363
If unspecified, :expression:`$dateFromString` uses
6464
``"%Y-%m-%dT%H:%M:%S.%LZ"`` as the default format.
6565

66-
.. versionadded:: 4.0
67-
6866
* - ``timezone``
6967

7068
- Optional. The time zone to use to format the date.

source/reference/operator/aggregation/dateToString.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ Definition
5858
If unspecified, :expression:`$dateToString` uses
5959
``"%Y-%m-%dT%H:%M:%S.%LZ"`` as the default format.
6060

61-
.. versionchanged:: 4.0
62-
63-
The ``format`` field is optional if
64-
``featureCompatibilityVersion`` (fCV) is set to ``"4.0"`` or
65-
greater. For more information on fCV, see
66-
:dbcommand:`setFeatureCompatibilityVersion`.
67-
6861
* - ``timezone``
6962

7063
- .. include:: /includes/fact-timezone-description.rst
@@ -80,12 +73,6 @@ Definition
8073
If unspecified, :expression:`$dateToString` returns null if the
8174
``date`` is null or missing.
8275

83-
.. versionadded:: 4.0
84-
85-
Requires ``featureCompatibilityVersion`` (fCV) set to
86-
``"4.0"`` or greater. For more information on fCV, see
87-
:dbcommand:`setFeatureCompatibilityVersion`.
88-
8976
.. seealso::
9077

9178
- :expression:`$toString`

source/reference/operator/aggregation/geoNear.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ Definition
9292
``2d`` index and/or only one ``2dsphere`` index, MongoDB looks first
9393
for a ``2d`` index to use. If a ``2d`` index does not exists, then
9494
MongoDB looks for a ``2dsphere`` index to use.
95-
96-
.. versionadded:: 4.0
9795

9896
* - ``maxDistance``
9997

@@ -278,8 +276,6 @@ The following aggregation finds all documents that
278276
Specify Which Geospatial Index to Use
279277
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280278

281-
.. versionadded:: 4.0
282-
283279
Consider a ``places`` collection that has a :doc:`2dsphere
284280
</core/2dsphere>` index on the ``location`` field and a
285281
:doc:`2d </core/2d>` index on the ``legacy`` field.

source/reference/operator/aggregation/lookup.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ See the following examples:
119119
Join Conditions and Uncorrelated Sub-queries
120120
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121121

122-
.. versionadded:: 3.6
122+
MongoDB supports:
123123

124124
To perform uncorrelated subqueries between two collections as well as
125125
allow other join conditions besides a single equality match, the
@@ -520,12 +520,6 @@ The operation returns the following documents:
520520
Specify Multiple Join Conditions with ``$lookup``
521521
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
522522

523-
.. versionchanged:: 3.6
524-
525-
MongoDB 3.6 adds support for executing a pipeline on the joined
526-
collection, which allows for specifying multiple join conditions as
527-
well as uncorrelated sub-queries.
528-
529523
Create a collection ``orders`` with the following documents:
530524

531525
.. code-block:: javascript

source/reference/operator/aggregation/ltrim.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Definition
1515

1616
.. expression:: $ltrim
1717

18-
.. versionadded:: 4.0
19-
2018
Removes whitespace characters, including null, or the specified
2119
characters from the beginning of a string.
2220

source/reference/operator/aggregation/merge.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ Definition
2929

3030
.. pipeline:: $merge
3131

32-
.. versionadded:: 4.2
33-
3432
Writes the results of the :doc:`aggregation pipeline
3533
</core/aggregation-pipeline>` to a specified collection. The
3634
:pipeline:`$merge` operator must be the **last** stage in the
@@ -676,9 +674,6 @@ summarizes the capabilities of the two stages:
676674
* - :pipeline:`$merge`
677675
- :pipeline:`$out`
678676

679-
* - - Available starting in MongoDB 4.2
680-
- - Available starting in MongoDB 2.6
681-
682677
* - - Can output to a collection in the same or different database.
683678
- - Can output to a collection in the same or, starting in
684679
MongoDB 4.4, different database.

source/reference/operator/aggregation/out.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ following summarizes the capabilities of the two stages:
9696

9797
* - :pipeline:`$out`
9898
- :pipeline:`$merge`
99-
* - - Available starting in MongoDB 2.6
100-
- - Available starting in MongoDB 4.2
10199
* - - Can output to a collection in the same or, starting in
102100
MongoDB 4.4, different database.
103101
- - Can output to a collection in the same or different database.

0 commit comments

Comments
 (0)