DeleteOptions
public struct DeleteOptions : Codable, BulkWriteOptionsConvertible
Options to use when executing a delete
command on a MongoCollection
.
-
Specifies a collation.
Declaration
Swift
public var collation: BSONDocument?
-
An optional
WriteConcern
to use for the command.Declaration
Swift
public var writeConcern: WriteConcern?
-
Convenience initializer allowing collation to be omitted or optional
Declaration
Swift
public init(collation: BSONDocument? = nil, writeConcern: WriteConcern? = nil)