File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -285,6 +285,19 @@ parameter. The ``listIndexes()`` method returns an object of type
285
285
The following code uses the ``listIndexes()`` method to list all the
286
286
indexes in a collection:
287
287
288
+ List Indexes
289
+ ------------
290
+
291
+ You can use the ``listIndexes()`` method to list all of the indexes for
292
+ a collection. The `listIndexes()
293
+ <{+api+}/classes/Collection.html#listIndexes>`__ method takes an optional
294
+ `ListIndexesOptions <{+api+}/interfaces/ListIndexesOptions.html>`__
295
+ parameter. The ``listIndexes()`` method returns an object of type
296
+ `ListIndexesCursor <{+api+}/classes/ListIndexesCursor.html>`__.
297
+
298
+ The following code uses the ``listIndexes()`` method to list all the
299
+ indexes in a collection:
300
+
288
301
.. literalinclude:: /code-snippets/indexes/listIndexes.js
289
302
:language: js
290
303
:start-after: start-listIndexes-example
You can’t perform that action at this time.
0 commit comments