* Validate an existing collection * * @param collectionName - The name of the collection to validate. * @param options - Optional settings for the command
(
collectionName: string,
options: ValidateCollectionOptions = {}
)
| 141 | * @param options - Optional settings for the command |
| 142 | */ |
| 143 | async validateCollection( |
| 144 | collectionName: string, |
| 145 | options: ValidateCollectionOptions = {} |
| 146 | ): Promise<Document> { |
| 147 | return await executeOperation( |
| 148 | this.s.db.client, |
| 149 | new ValidateCollectionOperation(this, collectionName, options) |
| 150 | ); |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * List the available databases |
no test coverage detected