(
options?: IndexInformationOptions
)
| 772 | ): Promise<IndexDescriptionCompact | IndexDescriptionInfo[]>; |
| 773 | indexInformation(): Promise<IndexDescriptionCompact>; |
| 774 | async indexInformation( |
| 775 | options?: IndexInformationOptions |
| 776 | ): Promise<IndexDescriptionCompact | IndexDescriptionInfo[]> { |
| 777 | return await this.indexes({ |
| 778 | ...options, |
| 779 | full: options?.full ?? false |
| 780 | }); |
| 781 | } |
| 782 | |
| 783 | /** |
| 784 | * Gets an estimate of the count of documents in a collection using collection metadata. |