Skip to content

Commit c63ca8d

Browse files
committed
Extend Collection::find() options for Bucket instead of including as-is
1 parent 3026b3c commit c63ca8d

File tree

2 files changed

+73
-1
lines changed

2 files changed

+73
-1
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
source:
2+
file: apiargs-MongoDBCollection-method-find-option.yaml
3+
ref: projection
4+
---
5+
source:
6+
file: apiargs-MongoDBCollection-method-find-option.yaml
7+
ref: sort
8+
---
9+
source:
10+
file: apiargs-MongoDBCollection-method-find-option.yaml
11+
ref: skip
12+
---
13+
source:
14+
file: apiargs-MongoDBCollection-method-find-option.yaml
15+
ref: limit
16+
---
17+
source:
18+
file: apiargs-MongoDBCollection-method-find-option.yaml
19+
ref: batchSize
20+
---
21+
source:
22+
file: apiargs-MongoDBCollection-method-find-option.yaml
23+
ref: collation
24+
---
25+
source:
26+
file: apiargs-MongoDBCollection-method-find-option.yaml
27+
ref: comment
28+
---
29+
source:
30+
file: apiargs-MongoDBCollection-method-find-option.yaml
31+
ref: cursorType
32+
---
33+
source:
34+
file: apiargs-MongoDBCollection-method-find-option.yaml
35+
ref: maxTimeMS
36+
---
37+
source:
38+
file: apiargs-MongoDBCollection-method-find-option.yaml
39+
ref: readConcern
40+
description: |
41+
:manual:`Read concern </reference/read-concern>` to use for the operation.
42+
Defaults to the bucket's read concern.
43+
---
44+
source:
45+
file: apiargs-MongoDBCollection-method-find-option.yaml
46+
ref: readPreference
47+
description: |
48+
:manual:`Read preference </reference/read-preference>` to use for the
49+
operation. Defaults to the bucket's read preference.
50+
---
51+
source:
52+
file: apiargs-MongoDBCollection-method-find-option.yaml
53+
ref: oplogReplay
54+
---
55+
source:
56+
file: apiargs-MongoDBCollection-method-find-option.yaml
57+
ref: noCursorTimeout
58+
---
59+
source:
60+
file: apiargs-MongoDBCollection-method-find-option.yaml
61+
ref: allowPartialResults
62+
---
63+
source:
64+
file: apiargs-MongoDBCollection-method-find-option.yaml
65+
ref: typeMap
66+
replacement:
67+
parent: "bucket"
68+
---
69+
source:
70+
file: apiargs-MongoDBCollection-method-find-option.yaml
71+
ref: modifiers
72+
...

docs/reference/method/MongoDBGridFSBucket-find.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Definition
2727

2828
The ``$options`` parameter supports the following options:
2929

30-
.. include:: /includes/apiargs/MongoDBCollection-method-find-option.rst
30+
.. include:: /includes/apiargs/MongoDBGridFSBucket-method-find-option.rst
3131

3232
:returns:
3333

0 commit comments

Comments
 (0)