From a95a7a2e09a453e395c4a54f7f3b8a5ae40c910d Mon Sep 17 00:00:00 2001 From: sam-at-github Date: Sun, 14 Dec 2014 08:42:59 +1100 Subject: [PATCH] Update db.collection.update.txt reword ambiguous sentence on update parameters. Also add "<>" around to update method parameters in synopsis, inline with (most) other synopsis. --- source/reference/method/db.collection.update.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/reference/method/db.collection.update.txt b/source/reference/method/db.collection.update.txt index bf7cd7fe772..3ca3aefa3f6 100644 --- a/source/reference/method/db.collection.update.txt +++ b/source/reference/method/db.collection.update.txt @@ -7,12 +7,12 @@ db.collection.update() Definition ---------- -.. method:: db.collection.update(query, update, options) +.. method:: db.collection.update(, , ) Modifies an existing document or documents in a collection. The method can modify specific fields of an existing document or documents - or replace an existing document entirely, depending on the - :ref:`update parameter `. + or replace an existing document entirely, depending on which operators + are used in the :ref:`update parameter `. By default, the :method:`~db.collection.update()` method updates a **single** document. Set the :ref:`multi-parameter` to update all