Skip to content

Commit 8bba0b9

Browse files
asya999andf-mongodb
authored andcommitted
Correct note on deprecation
Ensure index is not an alias for create index
1 parent 936cd7e commit 8bba0b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/method/db.collection.ensureIndex.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Definition
2020

2121

2222
.. deprecated:: 3.0.0
23-
:method:`db.collection.ensureIndex()` is now an alias for
23+
:method:`db.collection.ensureIndex()` has been replaced by
2424
:method:`db.collection.createIndex()`.
2525

2626
Creates an index on the specified field if the index does not

0 commit comments

Comments
 (0)