File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import (
14
14
"go.mongodb.org/mongo-driver/event"
15
15
"go.mongodb.org/mongo-driver/internal/logger"
16
16
"go.mongodb.org/mongo-driver/mongo/description"
17
- "go.mongodb.org/mongo-driver/mongo/readconcern"
18
17
"go.mongodb.org/mongo-driver/mongo/readpref"
19
18
"go.mongodb.org/mongo-driver/x/bsonx/bsoncore"
20
19
"go.mongodb.org/mongo-driver/x/mongo/driver"
@@ -24,7 +23,6 @@ import (
24
23
// Command is used to run a generic operation.
25
24
type Command struct {
26
25
command bsoncore.Document
27
- readConcern * readconcern.ReadConcern
28
26
database string
29
27
deployment driver.Deployment
30
28
selector description.ServerSelector
@@ -162,16 +160,6 @@ func (c *Command) Deployment(deployment driver.Deployment) *Command {
162
160
return c
163
161
}
164
162
165
- // ReadConcern specifies the read concern for this operation.
166
- func (c * Command ) ReadConcern (readConcern * readconcern.ReadConcern ) * Command {
167
- if c == nil {
168
- c = new (Command )
169
- }
170
-
171
- c .readConcern = readConcern
172
- return c
173
- }
174
-
175
163
// ReadPreference set the read preference used with this operation.
176
164
func (c * Command ) ReadPreference (readPreference * readpref.ReadPref ) * Command {
177
165
if c == nil {
You can’t perform that action at this time.
0 commit comments