File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ What's New in 2.0
60
60
method accepts only an options object. To view an example that uses
61
61
this method, see the :ref:`Connection Example Code
62
62
<go-connection-example-code>` in the Connection Guide.
63
+
64
+ - The ``Cursor.SetMaxTime()`` method is renamed to
65
+ ``Cursor.SetMaxAwaitTime()``. This method specifies the maximum time
66
+ that the server waits for new documents retrieved from a capped
67
+ collection with a tailable cursor.
63
68
64
69
- Removal of operation-specific timeout options. The following fields
65
70
and setter methods have been removed from the driver:
@@ -148,6 +153,8 @@ The 2.0 {+driver-short+} release includes the following improvements and fixes:
148
153
``SessionOptions`` type. To learn more, see the
149
154
:ref:`golang-session-txn-options` section of the Transactions guide.
150
155
156
+ - The ``Collection.Clone()`` method does not return an error.
157
+
151
158
.. _version-1.16:
152
159
153
160
What's New in 1.16
You can’t perform that action at this time.
0 commit comments