* Returns if the collection is a capped collection * * @param options - Optional settings for the command
(options?: OperationOptions)
| 601 | * @param options - Optional settings for the command |
| 602 | */ |
| 603 | async isCapped(options?: OperationOptions): Promise<boolean> { |
| 604 | const { capped } = await this.options(options); |
| 605 | return Boolean(capped); |
| 606 | } |
| 607 | |
| 608 | /** |
| 609 | * Creates an index on the db and collection collection. |