We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba287a4 + 40bdafb commit 20127bfCopy full SHA for 20127bf
en/reference/find-and-update.rst
@@ -30,7 +30,6 @@ For example you can update a job and return it:
30
->sort('priority', 'desc')
31
32
// Update found job
33
- ->update()
34
->field('started')->set(new \MongoDate())
35
->getQuery()
36
->execute();
@@ -51,7 +50,6 @@ Here is an example where we return the new updated job document:
51
50
52
53
54
55
56
->field('in_progress')->set(true)
57
@@ -81,4 +79,4 @@ You can read more about the find and modify functionality on the
81
79
.. note::
82
80
83
If you don't need to return the document, you can use just run a normal update which can
84
- affect multiple documents, as well.
+ affect multiple documents, as well.
0 commit comments