Skip to content

DOCSP-15413 fix notes with versionchanged-added #5289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions source/reference/method/cursor.max.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,12 @@ Create the following indexes for the collection:
:method:`~cursor.min()` limits the query to the documents
that are at or above the index key bound of ``price`` equal to
``NumberDecimal("1.39")``:

.. note::

.. versionchanged:: 4.0

The bound specified by :method:`~cursor.max()` must be greater
than the bound specified by :method:`~cursor.min()`.
Starting in MongoDB 4.0, the bound specified by
:method:`~cursor.max()` must be greater than the bound specified by
:method:`~cursor.min()`.

.. code-block:: javascript

Expand Down
7 changes: 3 additions & 4 deletions source/reference/method/cursor.min.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,10 @@ Create the following indexes for the collection:
that are below the index key bound of ``price`` equal to ``1.99``:

.. note::

.. versionchanged:: 4.0

The bound specified by :method:`~cursor.max()` must be greater
than the bound specified by :method:`~cursor.min()`.
Starting in MongoDB 4.0, the bound specified by
:method:`~cursor.max()` must be greater than the bound specified by
:method:`~cursor.min()`.

.. code-block:: javascript

Expand Down
6 changes: 2 additions & 4 deletions source/reference/operator/meta/max.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ following example:

.. note::

.. versionchanged:: 4.0

The bound specified by :operator:`$max` must be greater than the
bound specified by :operator:`$min`.
Starting in MongoDB 4.0, the bound specified by :operator:`$max` must
be greater than the bound specified by :operator:`$min`.

.. code-block:: javascript

Expand Down
6 changes: 2 additions & 4 deletions source/reference/operator/meta/min.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,8 @@ following example:

.. note::

.. versionchanged:: 4.0

The bound specified by :operator:`$max` must be greater than the
bound specified by :operator:`$min`.
Starting in MongoDB 4.0, the bound specified by :operator:`$max` must
be greater than the bound specified by :operator:`$min`.

.. code-block:: javascript

Expand Down
9 changes: 4 additions & 5 deletions source/tutorial/manage-users-and-roles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@ provides only the privileges to run both :method:`db.currentOp()` and

.. note::

.. versionchanged:: 3.2.9

On :binary:`~bin.mongod` instances, users do not need any
specific privileges to view or kill their own operations. See
:method:`db.currentOp()` and :method:`db.killOp()` for details.
Starting in MongoDB 3.2.9, users do not need any specific privileges
to view or kill their own operations on :binary:`~bin.mongod`
instances. See :method:`db.currentOp()` and :method:`db.killOp()` for
details.

.. include:: /includes/steps/create-role-manage-ops.rst

Expand Down