Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 447 Bytes

indexes.md

File metadata and controls

19 lines (11 loc) · 447 Bytes

collection.indexes

Mongo documentation

Returns an array that holds a list of documents that identify and describe the existing indexes on the collection.

Arguments

  1. [callback] (function)

Returns

A promise.

Example

users.indexes().then((indexes) => {})