@@ -86,6 +86,9 @@ func (iv IndexView) List(ctx context.Context, opts ...*options.ListIndexesOption
86
86
description .LatencySelector (iv .coll .client .localThreshold ),
87
87
})
88
88
selector = makeReadPrefSelector (sess , selector , iv .coll .client .localThreshold )
89
+
90
+ // TODO(GODRIVER-3038): This operation should pass CSE to the ListIndexes
91
+ // Crypt setter to be applied to the operation.
89
92
op := operation .NewListIndexes ().
90
93
Session (sess ).CommandMonitor (iv .coll .client .monitor ).
91
94
ServerSelector (selector ).ClusterClock (iv .coll .client .clock ).
@@ -251,6 +254,10 @@ func (iv IndexView) CreateMany(ctx context.Context, models []IndexModel, opts ..
251
254
252
255
option := options .MergeCreateIndexesOptions (opts ... )
253
256
257
+ // TODO(GODRIVER-3038): This operation should pass CSE to the CreateIndexes
258
+ // Crypt setter to be applied to the operation.
259
+ //
260
+ // This was added in GODRIVER-2413 for the 2.0 major release.
254
261
op := operation .NewCreateIndexes (indexes ).
255
262
Session (sess ).WriteConcern (wc ).ClusterClock (iv .coll .client .clock ).
256
263
Database (iv .coll .db .name ).Collection (iv .coll .name ).CommandMonitor (iv .coll .client .monitor ).
@@ -387,6 +394,9 @@ func (iv IndexView) drop(ctx context.Context, name string, opts ...*options.Drop
387
394
selector := makePinnedSelector (sess , iv .coll .writeSelector )
388
395
389
396
dio := options .MergeDropIndexesOptions (opts ... )
397
+
398
+ // TODO(GODRIVER-3038): This operation should pass CSE to the DropIndexes
399
+ // Crypt setter to be applied to the operation.
390
400
op := operation .NewDropIndexes (name ).
391
401
Session (sess ).WriteConcern (wc ).CommandMonitor (iv .coll .client .monitor ).
392
402
ServerSelector (selector ).ClusterClock (iv .coll .client .clock ).
0 commit comments