File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ db.collection.createIndex()
44
55.. default-domain:: mongodb
66
7- .. deprecated::
8-
97.. method:: db.collection.createIndex(keys, options)
108
9+ .. deprecated:: 1.8
10+
1111 :param document keys: A :term:`document` that contains
1212 pairs with the name of the field or
1313 fields to index and order of the index. A
@@ -17,4 +17,14 @@ db.collection.createIndex()
1717 :param document options: A :term:`document` that controls the creation
1818 of the index. This argument is optional.
1919
20- .. seealso:: :method:`~db.collection.ensureIndex()` and :doc:`/indexes`
20+ The :method:`~db.collection.ensureIndex()` method is the preferred
21+ way to create indexes on collections.
22+
23+ .. seealso:: :doc:`/indexes`,
24+ :method:`~db.collection.createIndex()`,
25+ :method:`~db.collection.dropIndex()`,
26+ :method:`~db.collection.dropIndexes()`,
27+ :method:`~db.collection.getIndexes()`,
28+ :method:`~db.collection.reIndex()`,
29+ :method:`~db.collection.totalIndexSize()`
30+
You can’t perform that action at this time.
0 commit comments