import { type CreateIndexOptions } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
Properties
indexes: IndexOptions[]
Specifies the indexes to create. Each document in the array specifies a separate index.
optional
writeConcern: DocumentOptional. A document expressing the write concern. Omit to use the default write concern.
Optional. The minimum number of data-bearing voting replica set members (i.e. commit quorum), including the primary, that must report a successful index build before the primary marks the indexes as ready. A “voting” member is any replica set member where members[n].votes is greater than 0.
optional
comment: DocumentOptional. A user-provided comment to attach to this command. Once set