An object representing a potentially hidden index.
This type can be used to cast the result of collection.indexes to better
reflect the actual data returned by the server when using the withHidden
option:
constindexes = awaitcollection.indexes<HiddenIndex>({ withHidden:true })); // indexes may include internal indexes and indexes with a "progress" // property
Type declaration
Optionalprogress?: number
Progress of this index if it is still being created.
An object representing a potentially hidden index.
This type can be used to cast the result of
collection.indexes
to better reflect the actual data returned by the server when using thewithHidden
option: