Skip to content
Merged
Changes from 1 commit
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
15 changes: 15 additions & 0 deletions source/release-notes/2.2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,21 @@ Documentation: :ref:`sharding-shard-key-indexes`
Additional Improvements
~~~~~~~~~~~~~~~~~~~~~~~

``findAndMondify`` Returns Null value for Upserts
`````````````````````````````````````````````````

In 2.2, for :term:`upsert` operations, :dbcommand:`findAndModify`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mention what the previous behavior was.

commands will now return the following output:

.. code-block:: javascript

{'ok': 1.0, 'value': null}

In the :program:`mongo` shell, :dbcommand:`findAndModify` operations
running as upserts will only output a ``null` value.

See: :issue:`SERVER-6226`.

``_id`` Index not Required for Updates to Capped Collections
````````````````````````````````````````````````````````````

Expand Down