File tree Expand file tree Collapse file tree 3 files changed +31
-31
lines changed Expand file tree Collapse file tree 3 files changed +31
-31
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ shell using the :method:`db.collection.mapReduce()` method:
23
23
.. code-block:: javascript
24
24
25
25
db.collection.mapReduce(
26
- <map >,
27
- <reduce >,
26
+ <mapfunction >,
27
+ <reducefunction >,
28
28
{
29
- < out>,
30
- < query>,
31
- < sort>,
32
- < limit>,
33
- < finalize>,
34
- < scope>,
35
- < jsMode>,
36
- < verbose>
29
+ out: <collection >,
30
+ query: <document >,
31
+ sort: <document >,
32
+ limit: <number >,
33
+ finalize: <function >,
34
+ scope: <document >,
35
+ jsMode: <boolean >,
36
+ verbose: <boolean >
37
37
}
38
38
)
39
39
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ mapReduce
15
15
16
16
db.runCommand(
17
17
{
18
- mapReduce: ' <collection>' ,
19
- map: <map >,
20
- reduce: <reduce >,
21
- out: <out >,
22
- query: <query >,
23
- sort: <sort >,
24
- limit: <limit >,
25
- finalize: <finalize >,
26
- scope: <scope >,
27
- jsMode: <jsMode >,
28
- verbose: <verbose >
18
+ mapReduce: <collection>,
19
+ map: <function >,
20
+ reduce: <function >,
21
+ out: <collection >,
22
+ query: <document >,
23
+ sort: <document >,
24
+ limit: <number >,
25
+ finalize: <function >,
26
+ scope: <document >,
27
+ jsMode: <boolean >,
28
+ verbose: <boolean >
29
29
}
30
30
)
31
31
Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ db.collection.mapReduce()
12
12
.. code-block:: javascript
13
13
14
14
db.collection.mapReduce(
15
- <map> ,
16
- <reduce> ,
15
+ mapfunction ,
16
+ reducefunction ,
17
17
{
18
- < out>,
19
- < query>,
20
- < sort>,
21
- < limit>,
22
- < finalize>,
23
- < scope>,
24
- < jsMode>,
25
- < verbose>
18
+ out: <collection >,
19
+ query: <document >,
20
+ sort: <document >,
21
+ limit: <number >,
22
+ finalize: <function >,
23
+ scope: <document >,
24
+ jsMode: <boolean >,
25
+ verbose: <boolean >
26
26
}
27
27
)
28
28
You can’t perform that action at this time.
0 commit comments