You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration-2.0.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -627,6 +627,10 @@ for _, set := range options.Client().ApplyURI(uri).Opts {
627
627
return clientOptionAdder{option: &opts}
628
628
```
629
629
630
+
### DeleteManyOptions / DeleteOneOptions
631
+
632
+
The `DeleteOptions` has been separated into `DeleteManyOptions` and `DeleteOneOptions` to configure the corresponding `DeleteMany` and `DeleteOne` operations.
633
+
630
634
### FindOneOptions
631
635
632
636
The following types are not valid for a `findOne` operation and have been removed:
@@ -636,6 +640,10 @@ The following types are not valid for a `findOne` operation and have been remove
636
640
-`MaxAwaitTime`
637
641
-`NoCursorTimeout`
638
642
643
+
### UpdateManyOptions / UpdateOneOptions
644
+
645
+
The `UpdateOptions` has been separated into `UpdateManyOptions` and `UpdateOneOptions` to configure the corresponding `UpdateMany` and `UpdateOne` operations.
646
+
639
647
### Merge\*Options
640
648
641
649
All functions that merge options have been removed in favor of a generic solution. See [GODRIVER-2696](https://jira.mongodb.org/browse/GODRIVER-2696) for more information.
0 commit comments