Skip to content

Commit 0058a58

Browse files
authored
1 parent 7b8960a commit 0058a58

24 files changed

+26
-122
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

@@ -280,8 +278,6 @@ equal to ``Parks``.
280278
Specify Which Geospatial Index to Use
281279
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282280

283-
.. versionadded:: 4.0
284-
285281
Consider a ``places`` collection that has a :doc:`2dsphere
286282
</core/2dsphere>` index on the ``location`` field and a
287283
:doc:`2d </core/2d>` index on the ``legacy`` field.

source/reference/operator/aggregation/lookup.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ See these examples:
121121
Join Conditions and Subqueries on a Joined Collection
122122
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123123

124-
.. versionadded:: 3.6
125-
126-
MongoDB 3.6 adds support for:
124+
MongoDB supports:
127125

128126
- Executing a pipeline on a joined collection.
129127

@@ -681,17 +679,15 @@ The operation returns these documents:
681679
Perform Multiple Joins and a Correlated Subquery with ``$lookup``
682680
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
683681

684-
.. versionchanged:: 3.6
685-
686-
MongoDB 3.6 adds support for executing a pipeline on a joined collection
687-
and allows multiple join conditions.
682+
Pipelines can execute on a joined collection and include multiple join
683+
conditions.
688684

689685
A join condition can reference a field in the local collection on which
690686
the :method:`~db.collection.aggregate()` method was run and reference a
691687
field in the joined collection. This allows a correlated subquery
692688
between the two collections.
693689

694-
MongoDB 5.0 also supports :ref:`concise correlated subqueries
690+
MongoDB 5.0 supports :ref:`concise correlated subqueries
695691
<lookup-concise-correlated-subquery>`.
696692

697693
Create a collection ``orders`` with these documents:

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
@@ -28,8 +28,6 @@ Definition
2828

2929
.. pipeline:: $merge
3030

31-
.. versionadded:: 4.2
32-
3331
Writes the results of the :doc:`aggregation pipeline
3432
</core/aggregation-pipeline>` to a specified collection. The
3533
:pipeline:`$merge` operator must be the **last** stage in the
@@ -690,9 +688,6 @@ results of the aggregation pipeline to a collection:
690688
* - :pipeline:`$merge`
691689
- :pipeline:`$out`
692690

693-
* - - Available starting in MongoDB 4.2
694-
- - Available starting in MongoDB 2.6
695-
696691
* - - Can output to a collection in the same or different database.
697692
- - Can output to a collection in the same or, starting in
698693
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)