Skip to content

Commit a286dd1

Browse files
committed
Better sense.
1 parent 12eedff commit a286dd1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/reference/operator/unset.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ $unset
1414
db.collection.update( { field: value1 }, { $unset: { field1: "" } } );
1515

1616
The above example deletes ``field1`` in ``collection`` from
17-
documents where ``field`` has a value of ``value1``. The value of
18-
specified for the value of the field in the :operator:`$unset` statement
19-
(i.e. ``""`` above,) does not impact the operation.
17+
documents where ``field`` has a value of ``value1``. The value of the field
18+
in the :operator:`$unset` statement (i.e. ``""`` above) does not impact
19+
the operation.
2020

2121
If documents match the initial query (e.g. ``{ field: value1 }``
2222
above) but do not have the field specified in the :operator:`$unset`
23-
operation, (e.g. ``field1``) there the statement has no effect on
23+
operation (e.g. ``field1``), then the statement has no effect on
2424
the document.

0 commit comments

Comments
 (0)