|
20 | 20 | /// Updates all documents matching `query` in the collection. |
21 | 21 | /// |
22 | 22 | /// Both `Document` and `Vec<Document>` implement `Into<UpdateModifications>`, so either can be |
23 | | - /// passed in place of constructing the enum case. Note: pipeline updates are only supported |
24 | | - /// in MongoDB 4.2+. See the official MongoDB |
| 23 | + /// passed in place of constructing the enum case. See the official MongoDB |
25 | 24 | /// [documentation](https://www.mongodb.com/docs/manual/reference/command/update/#behavior) for more information on specifying updates. |
26 | 25 | /// |
27 | 26 | /// `await` will return d[`Result<UpdateResult>`]. |
|
41 | 40 | /// Updates up to one document matching `query` in the collection. |
42 | 41 | /// |
43 | 42 | /// Both `Document` and `Vec<Document>` implement `Into<UpdateModifications>`, so either can be |
44 | | - /// passed in place of constructing the enum case. Note: pipeline updates are only supported |
45 | | - /// in MongoDB 4.2+. See the official MongoDB |
| 43 | + /// passed in place of constructing the enum case. See the official MongoDB |
46 | 44 | /// [documentation](https://www.mongodb.com/docs/manual/reference/command/update/#behavior) for more information on specifying updates. |
47 | 45 | /// |
48 | 46 | /// This operation will retry once upon failure if the connection and encountered error support |
|
73 | 71 | /// Updates all documents matching `query` in the collection. |
74 | 72 | /// |
75 | 73 | /// Both `Document` and `Vec<Document>` implement `Into<UpdateModifications>`, so either can be |
76 | | - /// passed in place of constructing the enum case. Note: pipeline updates are only supported |
77 | | - /// in MongoDB 4.2+. See the official MongoDB |
| 74 | + /// passed in place of constructing the enum case. See the official MongoDB |
78 | 75 | /// [documentation](https://www.mongodb.com/docs/manual/reference/command/update/#behavior) for more information on specifying updates. |
79 | 76 | /// |
80 | 77 | /// [`run`](Update::run) will return d[`Result<UpdateResult>`]. |
|
87 | 84 | /// Updates up to one document matching `query` in the collection. |
88 | 85 | /// |
89 | 86 | /// Both `Document` and `Vec<Document>` implement `Into<UpdateModifications>`, so either can be |
90 | | - /// passed in place of constructing the enum case. Note: pipeline updates are only supported |
91 | | - /// in MongoDB 4.2+. See the official MongoDB |
| 87 | + /// passed in place of constructing the enum case. See the official MongoDB |
92 | 88 | /// [documentation](https://www.mongodb.com/docs/manual/reference/command/update/#behavior) for more information on specifying updates. |
93 | 89 | /// |
94 | 90 | /// This operation will retry once upon failure if the connection and encountered error support |
|
0 commit comments