Skip to content

Commit ed578ab

Browse files
committed
Merge branch 'v1.1'
2 parents 7acb440 + 3473f1a commit ed578ab

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ arg_name: option
137137
name: modifiers
138138
type: array|object
139139
description: |
140-
Meta-operators that modify the output or behavior of a query. :manual:`Cursor
141-
Methods </reference/method/js-cursor`> describes the query modification
142-
methods available in MongoDB.
140+
:manual:`Meta operators </reference/operator/query-modifier>` that modify the
141+
output or behavior of a query. Use of these operators is deprecated in favor
142+
of named options.
143143
interface: phpmethod
144144
operation: ~
145145
optional: true

src/Operation/Find.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ class Find implements Executable
7676
* run. If "$maxTimeMS" also exists in the modifiers document, this
7777
* option will take precedence.
7878
*
79-
* * modifiers (document): Meta-operators modifying the output or behavior
80-
* of a query.
79+
* * modifiers (document): Meta operators that modify the output or
80+
* behavior of a query. Use of these operators is deprecated in favor of
81+
* named options.
8182
*
8283
* * noCursorTimeout (boolean): The server normally times out idle cursors
8384
* after an inactivity period (10 minutes) to prevent excess memory use.

0 commit comments

Comments
 (0)