DropIndexOptions
public struct DropIndexOptions : Encodable
Options to use when dropping an index from a MongoCollection.
-
The maximum amount of time to allow the query to run - enforced server-side.
Declaration
Swift
public var maxTimeMS: Int? -
An optional
WriteConcernto use for the command.Declaration
Swift
public var writeConcern: WriteConcern? -
Initializer allowing any/all parameters to be omitted.
Declaration
Swift
public init(maxTimeMS: Int? = nil, writeConcern: WriteConcern? = nil)
View on GitHub
Install in Dash
DropIndexOptions Structure Reference