File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,26 +209,18 @@ guide.
209209Define an Update Document
210210-------------------------
211211
212- You can use the ``Stage::set() `` factory method when creating update
213- documents. Update documents describe the updates to make to target
212+ You can use factory methods from the ``Stage`` builder class to create
213+ update documents. Update documents describe the updates to make to target
214214documents. To learn more about updating documents, see the
215215:ref:`php-write-update` guide.
216216
217- .. important:: Only $set Operator Supported in Update Documents
218-
219- The only update operation that you can express with builders uses
220- the ``$set`` operator. This operator allows you to replace the value of
221- a field with a specified value or create a new field that has a specified
222- value. To learn more, see the :manual:`$set </reference/operator/update/set/>`
223- reference in the {+mdb-server+} manual.
224-
225217The following steps describe how to create an update document by using
226218builders:
227219
2282201. Create a ``Pipeline`` instance.
229221
230- #. Pass one or more ``$set`` stages by calling the ``Stage::set()``
231- method and passing a field name and a value .
222+ #. Pass one or more stages by calling methods from the ``Stage`` class
223+ such as ``Stage::set()`` and passing field names and values .
232224
233225The following code shows the template to define an update by using
234226builders:
You can’t perform that action at this time.
0 commit comments