Skip to content

Commit 4b16ca3

Browse files
committed
wip
1 parent 7a1a929 commit 4b16ca3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/indexes/single-field-index.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ load the sample datasets, see the :atlas:`Get Started with Atlas
5151
Create Single-Field Index
5252
-------------------------
5353

54-
The following example creates an index in ascending order on the
54+
Use the ``MongoDB\Collection::createIndex()`` method to create a single
55+
field index. The following example creates an index in ascending order on the
5556
``title`` field:
5657

5758
.. literalinclude:: /includes/indexes/indexes.php

0 commit comments

Comments
 (0)