Skip to content

Commit fee98dc

Browse files
committed
new indexes operation
1 parent d716258 commit fee98dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

collection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ func (c *Collection) ensureIndex(ctx context.Context, indexes []opts.IndexModel)
330330
return nil
331331
}
332332

333-
// EnsureIndexes Deprecated,
333+
// EnsureIndexes Deprecated
334334
// Recommend to use CreateIndexes / CreateOneIndex for more function)
335335
// EnsureIndexes creates unique and non-unique indexes in collection
336336
// the combination of indexes is different from CreateIndexes:

0 commit comments

Comments
 (0)