* Drop a collection from the database, removing it permanently. New accesses will create a new collection. * * @param name - Name of collection to drop * @param options - Optional settings for the command
(name: string, options?: DropCollectionOptions)
| 407 | * @param options - Optional settings for the command |
| 408 | */ |
| 409 | async dropCollection(name: string, options?: DropCollectionOptions): Promise<boolean> { |
| 410 | options = resolveOptions(this, options); |
| 411 | return await dropCollections(this, name, options); |
| 412 | } |
| 413 | |
| 414 | /** |
| 415 | * Drop a database, removing it permanently from the server. |