We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9101b41 commit af54779Copy full SHA for af54779
mongo/session.go
@@ -106,7 +106,10 @@ func SessionFromContext(ctx context.Context) Session {
106
//
107
// EndSession method should abort any existing transactions and close the session.
108
109
-// AdvanceClusterTime and AdvanceOperationTime are for internal use only and must not be called.
+// AdvanceClusterTime advances the cluster time for a session. This method will return an error if the session has ended.
110
+//
111
+// AdvanceOperationTime advances the operation time for a session. This method will return an error if the session has
112
+// ended.
113
type Session interface {
114
// Functions to modify session state.
115
StartTransaction(...*options.TransactionOptions) error
0 commit comments