Skip to content

Commit 131ebfb

Browse files
authored
DOCS-13849 fix method definition to include args
1 parent 0fbb687 commit 131ebfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ db.collection.ensureIndex()
44

55
.. default-domain:: mongodb
66

7-
.. method:: db.collection.ensureIndex()
7+
.. method:: db.collection.ensureIndex(keys, options)
88

99
.. admonition:: Removed in 5.0
1010
:class: note
@@ -14,4 +14,4 @@ db.collection.ensureIndex()
1414

1515
.. seealso::
1616

17-
:method:`db.collection.createIndex()`
17+
:method:`db.collection.createIndex()`

0 commit comments

Comments
 (0)