dropIndex method

void dropIndex({
  1. required String collection,
  2. required String name,
})

Registers Mongo-style drop index command.

Implementation

void dropIndex({required String collection, required String name}) {
  _mutations.add(
    SchemaMutation.dropIndex(collection: collection, name: name),
  );
}