Skip to content

SERVER-6226 adding note about find and modify change to the release note... #64

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
merged 2 commits into from
Jul 13, 2012
Merged
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
23 changes: 23 additions & 0 deletions source/release-notes/2.2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,29 @@ Tag Aware Sharding

.. including tagging

Compatibility Changes
~~~~~~~~~~~~~~~~~~~~~

.. TODO add sections here to describe compatibility changes with
regards to authentication, drivers, and mongos'

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

In version 2.2, for :term:`upsert` operations, :dbcommand:`findAndModify`
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.

Previously, in version 2.0 these operations would return an empty
document, e.g. ``{ }``.

See: :issue:`SERVER-6226`.

Naming
~~~~~~
Expand Down