Skip to content

Commit c4932f9

Browse files
committed
Use "array|object" instead of "document" in MapReduce docs
1 parent 49a2933 commit c4932f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/includes/apiargs-MongoDBCollection-method-mapReduce-option.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ source:
4040
---
4141
arg_name: option
4242
name: query
43-
type: document
43+
type: array|object
4444
description: |
4545
Specifies the selection criteria using query operators for determining the
4646
documents input to the map function.
@@ -58,7 +58,7 @@ source:
5858
---
5959
arg_name: option
6060
name: scope
61-
type: document
61+
type: array|object
6262
description: |
6363
Specifies global variables that are accessible in the map, reduce, and finalize
6464
functions.

docs/includes/apiargs-MongoDBCollection-method-mapReduce-param.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ optional: false
2020
---
2121
arg_name: param
2222
name: $out
23-
type: string|document
23+
type: string|array|object
2424
description: |
2525
Specifies where to output the result of the map-reduce operation. You can
2626
either output to a collection or return the result inline. On a primary member

0 commit comments

Comments
 (0)