Skip to main content
Very Popular
Latest
method Collection.prototype.dropIndexes
import { Collection } from "https://deno.land/x/mongo@v0.33.0/src/collection/mod.ts";

Drop an index from the collection

Parameters

options: DropIndexOptions

The options for the operation

Returns

Promise<{ ok: number; nIndexesWas: number; }>

The result of the operation