Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/deps.ts>DropIndexOptions

A Deno library to interface with the Discord API
Latest
interface DropIndexOptions
import { type DropIndexOptions } from "https://deno.land/x/aether@v0.0.3/deps.ts";

Properties

index: string | IndexOptions | string[]

Specifies the indexes to drop. To drop all but the _id index from the collection, specify "*". To drop a single index, specify either the index name, the index specification document (unless the index is a text index), or an array of the index name. To drop a text index, specify the index names instead of the index specification document. To drop multiple indexes (Available starting in MongoDB 4.2), specify an array of the index names. See https://docs.mongodb.com/manual/reference/command/dropIndexes/#mongodb-dbcommand-dbcmd.dropIndexes

optional
writeConcern: Document

Optional. A document expressing the write concern. Omit to use the default write concern.

optional
comment: Document

Optional. A user-provided comment to attach to this command. Once set