* Drop a database, removing it permanently from the server. * * @param options - Optional settings for the command
(options?: DropDatabaseOptions)
| 417 | * @param options - Optional settings for the command |
| 418 | */ |
| 419 | async dropDatabase(options?: DropDatabaseOptions): Promise<boolean> { |
| 420 | return await executeOperation( |
| 421 | this.client, |
| 422 | new DropDatabaseOperation(this, resolveOptions(this, options)) |
| 423 | ); |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * Fetch all collections for the current db. |