modernDrop method

Future<Map<String, dynamic>> modernDrop(
  1. String collectionNAme, {
  2. DropOptions? dropOptions,
  3. Map<String, Object>? rawOptions,
})

This method drops a collection

Implementation

Future<Map<String, dynamic>> modernDrop(String collectionNAme,
    {DropOptions? dropOptions, Map<String, Object>? rawOptions}) async {
  var command = DropCommand(this, collectionNAme,
      dropOptions: dropOptions, rawOptions: rawOptions);
  return command.execute();
}