Skip to content

Commit a308cbd

Browse files
author
Sam Kleinman
committed
DOCS-503 minor style change
1 parent 191e911 commit a308cbd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/reference/operator/positional.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
The positional :operator:`$` operator identifies an element in an
1212
``array`` field to update without explicitly specifying the position
13-
of the element in the array. The positional :operator:`$` operator
14-
is used in conjunction with the :method:`update()
13+
of the element in the array. The positional :operator:`$` operator,
14+
when used with the :method:`update()
1515
<db.collection.update()>` method and acts as a placeholder for the
1616
**first match** of the update ``query selector``:
1717

@@ -69,13 +69,13 @@
6969
Consider the following behaviors when using the positional
7070
:operator:`$` operator:
7171

72-
- The positional :operator:`$` operator should not be used with an
73-
:term:`upsert` since an insert will use the ``$`` as a field name
72+
- Do not use the positional operator :operator:`$` with
73+
:term:`upsert` operations because, inserts will use the ``$`` as a field name
7474
in the inserted document.
7575

7676
- When used with the :operator:`$unset` operator, the positional
7777
:operator:`$` operator does not remove the matching element from
78-
the array but rather set it to ``null``.
78+
the array but rather sets it to ``null``.
7979

8080
.. seealso::
8181

0 commit comments

Comments
 (0)