@@ -33,11 +33,10 @@ The ``map`` function has the following requirements:
3333 starting in version 4.4.
3434
3535- Starting in MongoDB 4.4, :dbcommand: `mapReduce ` no longer supports
36- the deprecated BSON type JavaScript code with scope
37- (:doc: `BSON type 15 </reference/bson-types/ >`) for its functions. The
38- ``map `` function must be either BSON type String (:doc: `BSON type 2
39- </reference/bson-types/>`) or BSON type JavaScript (:doc: `BSON type 13
40- </reference/bson-types/>`). To pass constant values which will be
36+ the deprecated :ref: `BSON Type <bson-types >` JavaScript code with
37+ scope (BSON Type 15) for its functions. The ``map `` function must be
38+ either BSON Type String (BSON Type 2) or BSON Type JavaScript
39+ (BSON Type 13). To pass constant values which will be
4140 accessible in the ``map `` function, use the ``scope `` parameter.
4241
4342 | The use of JavaScript code with scope for the ``map`` function has
@@ -102,12 +101,11 @@ The ``reduce`` function exhibits the following behaviors:
102101 joined together in subsequent ``reduce `` steps.
103102
104103- Starting in MongoDB 4.4, :dbcommand: `mapReduce ` no longer supports
105- the deprecated BSON type JavaScript code with scope
106- (:doc: `BSON type 15 </reference/bson-types/ >`) for its functions. The
107- ``reduce `` function must be either BSON type String (:doc: `BSON type 2
108- </reference/bson-types/>`) or BSON type JavaScript (:doc: `BSON type 13
109- </reference/bson-types/>`). To pass constant values which will be
110- accessible in the ``reduce `` function, use the ``scope `` parameter.
104+ the deprecated BSON Type JavaScript code with scope (BSON Type 15)
105+ for its functions. The ``reduce `` function must be either BSON Type
106+ String (BSON Type 2) or BSON Type JavaScript (BSON Type 13). To pass
107+ constant values which will be accessible in the ``reduce `` function,
108+ use the ``scope `` parameter.
111109
112110 | The use of JavaScript code with scope for the ``reduce`` function
113111 has been deprecated since version 4.2.1.
@@ -286,13 +284,11 @@ aware that:
286284 the ``scope `` parameter.
287285
288286- Starting in MongoDB 4.4, :dbcommand: `mapReduce ` no longer supports
289- the deprecated BSON type JavaScript code with scope
290- (:doc: `BSON type 15 </reference/bson-types/ >`) for its functions. The
291- ``finalize `` function must be either BSON type String
292- (:doc: `BSON type 2 </reference/bson-types/ >`) or BSON type JavaScript
293- (:doc: `BSON type 13 </reference/bson-types/ >`). To pass constant
294- values which will be accessible in the ``finalize `` function, use the
295- ``scope `` parameter.
287+ the deprecated BSON Type JavaScript code with scope (BSON Type 15) for
288+ its functions. The ``finalize `` function must be either BSON Type
289+ String (BSON Type 2) or BSON Type JavaScript (BSON Type 13). To pass
290+ constant values which will be accessible in the ``finalize `` function,
291+ use the ``scope `` parameter.
296292
297293 | The use of JavaScript code with scope for the ``finalize`` function
298294 has been deprecated since version 4.2.1.
0 commit comments