DeleteModelOptions
public struct DeleteModelOptions : Codable
Options to use with a WriteModel.deleteOne or WriteModel.deleteMany.
-
The collation to use.
Declaration
Swift
public var collation: BSONDocument? -
A document or string that specifies the index to use to support the query. Only supported in server 4.4+.
Declaration
Swift
public var hint: IndexHint? -
Initializer allowing any/all options to be omitted or optional.
Declaration
Swift
public init(collation: BSONDocument? = nil, hint: IndexHint? = nil)
View on GitHub
Install in Dash
DeleteModelOptions Structure Reference